mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
Update upload_from_url.js
This commit is contained in:
parent
21aec396e0
commit
b07d4e93ad
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user