Clean up
This commit is contained in:
parent
5e3372e932
commit
26c9d8ff6f
6 changed files with 8 additions and 8 deletions
|
|
@ -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))));
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue