mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
Clean up
This commit is contained in:
parent
ac0477dfc0
commit
245508c2c8
@ -51,8 +51,7 @@ import serialize from '../../../serializers/user';
|
|||||||
* @return {Promise<object>}
|
* @return {Promise<object>}
|
||||||
*/
|
*/
|
||||||
module.exports = (params) =>
|
module.exports = (params) =>
|
||||||
new Promise(async (res, rej) =>
|
new Promise(async (res, rej) => {
|
||||||
{
|
|
||||||
// Get 'app_secret' parameter
|
// Get 'app_secret' parameter
|
||||||
const appSecret = params.app_secret;
|
const appSecret = params.app_secret;
|
||||||
if (appSecret == null) {
|
if (appSecret == null) {
|
||||||
@ -113,4 +112,4 @@ module.exports = (params) =>
|
|||||||
detail: true
|
detail: true
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user