mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 15:03:08 +02:00
Merge remote-tracking branch 'refs/remotes/origin/master' into no-tag-ls
This commit is contained in:
commit
98cccdee3d
1 changed files with 1 additions and 0 deletions
|
@ -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');
|
||||||
|
|
Loading…
Reference in a new issue