1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-12-02 16:58:11 +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) =>
{
// Get 'url' parameter
// TODO: Validate this url
const url = params.url;
if (url == null) {
return rej('url is required');