aboutsummaryrefslogtreecommitdiff
path: root/src/client/Network.ts
diff options
context:
space:
mode:
authorNaafiyan Ahmed <naafiyan@gmail.com>2022-07-12 12:07:38 -0400
committerNaafiyan Ahmed <naafiyan@gmail.com>2022-07-12 12:07:38 -0400
commit31041d7a5b2c3699518ebb33ccab016af0acd579 (patch)
tree8d8651ef3bcf9e6fee0c55c598ec5c356dbcc05f /src/client/Network.ts
parent39cf91aadee5f448e1a7a0a07da9e769d6e242fa (diff)
parent0906eab4135db844dc45a20d33f84e7439461c9b (diff)
merged master
Diffstat (limited to 'src/client/Network.ts')
-rw-r--r--src/client/Network.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/Network.ts b/src/client/Network.ts
index 224420125..c781d4b6b 100644
--- a/src/client/Network.ts
+++ b/src/client/Network.ts
@@ -42,7 +42,7 @@ export namespace Networking {
const response = await fetch("/uploadFormData", parameters);
return response.json();
}
-
+
export async function UploadYoutubeToServer<T extends Upload.FileInformation = Upload.FileInformation>(videoId: string): Promise<Upload.FileResponse<T>[]> {
const parameters = {
method: 'POST',
@@ -52,5 +52,6 @@ export namespace Networking {
const response = await fetch("/uploadYoutubeVideo", parameters);
return response.json();
}
+
} \ No newline at end of file