1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-03 17:28:33 +09:00
This commit is contained in:
Aya Morisawa 2017-02-24 00:28:18 +09:00
parent 86c60f045f
commit b93d2922e5

View File

@ -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
}) })
}); });
}); });