Skip to content
Snippets Groups Projects
Commit 2fcf9288 authored by syuilo's avatar syuilo
Browse files

Refactoring

parent 9bc17974
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,5 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
});
// Serialize
res(await Promise.all(history.map(async h =>
await pack(h.messageId, user))));
res(await Promise.all(history.map(h => pack(h.messageId, user))));
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment