1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-04 17:58:10 +09:00

Merge remote-tracking branch 'refs/remotes/origin/master' into no-tag-ls

This commit is contained in:
syuilo 2017-02-21 09:50:04 +09:00
commit 98cccdee3d

View File

@ -23,6 +23,7 @@ module.exports = (params, user) =>
new Promise(async (res, rej) => new Promise(async (res, rej) =>
{ {
// Get 'url' parameter // Get 'url' parameter
// TODO: Validate this url
const url = params.url; const url = params.url;
if (url == null) { if (url == null) {
return rej('url is required'); return rej('url is required');