0
0

Refactoring

This commit is contained in:
syuilo 2018-08-11 20:53:03 +09:00
parent 9bc17974f2
commit 2fcf9288a5

View File

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