diff options
author | Jenny Yu <jennyyu212@outlook.com> | 2022-04-28 16:01:49 -0400 |
---|---|---|
committer | Jenny Yu <jennyyu212@outlook.com> | 2022-04-28 16:01:49 -0400 |
commit | 0a84982e2ea59d737f394bc79fa7f26a4bf29a80 (patch) | |
tree | ad18d9abbe29692896f7f9df618e40379d3e0f4b /src/client/Network.ts | |
parent | 73ed47a8fbc6c4827c5d553e385396661d940787 (diff) |
feat: uploading works
Diffstat (limited to 'src/client/Network.ts')
-rw-r--r-- | src/client/Network.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/Network.ts b/src/client/Network.ts index 3597e7b2b..1255e5ce0 100644 --- a/src/client/Network.ts +++ b/src/client/Network.ts @@ -19,6 +19,7 @@ export namespace Networking { } export async function UploadFilesToServer<T extends Upload.FileInformation = Upload.FileInformation>(files: File | File[]): Promise<Upload.FileResponse<T>[]> { + console.log(files) const formData = new FormData(); if (Array.isArray(files)) { if (!files.length) { |