mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-12 21:58:58 +09:00
Fix
This commit is contained in:
parent
5f9c97fad3
commit
6d4fc02a0b
@ -85,7 +85,7 @@ module.exports = async (params, user) => new Promise(async (res, rej) => {
|
||||
if (permissionErr) return rej('invalid permission param');
|
||||
|
||||
// Get 'callback_url' parameter
|
||||
// TODO: Check $ is valid url
|
||||
// TODO: Check it is valid url
|
||||
const [callbackUrl = null, callbackUrlErr] = $(params.callback_url).optional.nullable.string().$;
|
||||
if (callbackUrlErr) return rej('invalid callback_url param');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user