From 26c9d8ff6fbc2fc0dd329f5de83ce05b57b426ad Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 31 Oct 2018 11:20:54 +0900 Subject: Clean up --- src/models/notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/models/notification.ts') diff --git a/src/models/notification.ts b/src/models/notification.ts index 34629ade0c..3944395baf 100644 --- a/src/models/notification.ts +++ b/src/models/notification.ts @@ -54,7 +54,7 @@ export interface INotification { export const packMany = async ( notifications: any[] ) => { - return (await Promise.all(notifications.map(n => pack(n)))).filter(x => x != null); + return (await Promise.all(notifications.map(n => pack(n)))); }; /** -- cgit v1.2.3-freya