mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-03 11:17:28 +00:00
Clean up
This commit is contained in:
parent
86c60f045f
commit
b93d2922e5
1 changed files with 57 additions and 58 deletions
|
@ -51,8 +51,7 @@ import serialize from '../../../serializers/user';
|
|||
* @return {Promise<object>}
|
||||
*/
|
||||
module.exports = (params) =>
|
||||
new Promise(async (res, rej) =>
|
||||
{
|
||||
new Promise(async (res, rej) => {
|
||||
// Get 'app_secret' parameter
|
||||
const appSecret = params.app_secret;
|
||||
if (appSecret == null) {
|
||||
|
@ -113,4 +112,4 @@ module.exports = (params) =>
|
|||
detail: true
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue