summaryrefslogtreecommitdiff
path: root/src/api/endpoints/drive
diff options
context:
space:
mode:
authorsyuilo⭐️ <Syuilotan@yahoo.co.jp>2017-02-21 09:28:11 +0900
committerGitHub <noreply@github.com>2017-02-21 09:28:11 +0900
commit96bd1cc7307850dfc6af4f618300b31eb4ee070a (patch)
tree215b965a60f2e703f16f959a86bcff7af52f5359 /src/api/endpoints/drive
parentUpdate README.md (diff)
downloadsharkey-96bd1cc7307850dfc6af4f618300b31eb4ee070a.tar.gz
sharkey-96bd1cc7307850dfc6af4f618300b31eb4ee070a.tar.bz2
sharkey-96bd1cc7307850dfc6af4f618300b31eb4ee070a.zip
Update upload_from_url.js
Diffstat (limited to 'src/api/endpoints/drive')
-rw-r--r--src/api/endpoints/drive/files/upload_from_url.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/endpoints/drive/files/upload_from_url.js b/src/api/endpoints/drive/files/upload_from_url.js
index 3cc91b946b..906c3a7a9e 100644
--- a/src/api/endpoints/drive/files/upload_from_url.js
+++ b/src/api/endpoints/drive/files/upload_from_url.js
@@ -23,6 +23,7 @@ module.exports = (params, user) =>
new Promise(async (res, rej) =>
{
// Get 'url' parameter
+ // TODO: Validate this url
const url = params.url;
if (url == null) {
return rej('url is required');