canvaslms-cli 1.4.5 → 1.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ export async function uploadSingleFileToCanvas(courseId, assignmentId, filePath)
23
23
 
24
24
  // Step 1: Get upload URL from Canvas
25
25
  const uploadParams = [
26
- `name=${encodeURIComponent(fileName)}`,
26
+ `name=${fileName}`,
27
27
  `size=${fileContent.length}`,
28
28
  'parent_folder_path=/assignments'
29
29
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvaslms-cli",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "A command line tool for interacting with Canvas LMS API",
5
5
  "keywords": [
6
6
  "canvas",