diff options
Diffstat (limited to 'src/client/Network.ts')
-rw-r--r-- | src/client/Network.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/Network.ts b/src/client/Network.ts index 9c293f9af..1ab9c6fc5 100644 --- a/src/client/Network.ts +++ b/src/client/Network.ts @@ -30,7 +30,7 @@ export namespace Networking { } /** * Handles uploading basic file types to server and makes the API call to "/uploadFormData" endpoint - * with the mapping of guid to filem as parameters. + * with the mapping of guid to files as parameters. * * @param fileguidpairs the files and corresponding guids to be uploaded to the server * @returns the response as a json from the server @@ -52,8 +52,7 @@ export namespace Networking { ]) ); } - // If the fileguidpair has a guid to use (From the overwriteDoc) use that guid. Otherwise, - // generate a new guid. + // If the fileguidpair has a guid to use (From the overwriteDoc) use that guid. Otherwise, generate a new guid. fileguidpairs.forEach(fileguidpair => formData.append(fileguidpair.guid ?? Utils.GenerateGuid(), fileguidpair.file)); } else { // Handle the case where fileguidpairs is a single file. |