This commit is contained in:
Aya Morisawa 2017-02-27 16:48:19 +09:00
parent fe14d4546c
commit d62d4181e9

View file

@ -16,8 +16,7 @@ import event from '../../../event';
* @return {Promise<object>} * @return {Promise<object>}
*/ */
module.exports = (params, user) => module.exports = (params, user) =>
new Promise(async (res, rej) => new Promise(async (res, rej) => {
{
const notificationId = params.notification; const notificationId = params.notification;
if (notificationId === undefined || notificationId === null) { if (notificationId === undefined || notificationId === null) {