Skip to content
Snippets Groups Projects
Commit 6d4fc02a authored by syuilo's avatar syuilo
Browse files

Fix

parent 5f9c97fa
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment