summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-21 09:50:04 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-21 09:50:04 +0900
commit98cccdee3dbbb4e901c3ef7672e4980982c3ec3c (patch)
tree84106112c9f86ad43163cd9e4ff898916aef5410 /src/api
parentMerge branch 'no-tag-ls' of https://github.com/syuilo/misskey into no-tag-ls (diff)
parentUpdate upload_from_url.js (diff)
downloadmisskey-98cccdee3dbbb4e901c3ef7672e4980982c3ec3c.tar.gz
misskey-98cccdee3dbbb4e901c3ef7672e4980982c3ec3c.tar.bz2
misskey-98cccdee3dbbb4e901c3ef7672e4980982c3ec3c.zip
Merge remote-tracking branch 'refs/remotes/origin/master' into no-tag-ls
Diffstat (limited to 'src/api')
-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');