mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-13 01:11:07 +09:00
Clean up
This commit is contained in:
parent
d731acfd8e
commit
85b8625e29
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user