This commit is contained in:
syuilo
2018-10-31 11:20:54 +09:00
parent 5e3372e932
commit 26c9d8ff6f
6 changed files with 8 additions and 8 deletions

View File

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