refacator: fix typw

This commit is contained in:
syuilo
2022-02-19 14:53:33 +09:00
parent 1dc06f7ad3
commit b6db709e02
7 changed files with 7 additions and 8 deletions

View File

@ -48,7 +48,6 @@ export default define(meta, paramDef, async (ps, user) => {
await PromoNotes.insert({
noteId: note.id,
createdAt: new Date(),
expiresAt: new Date(ps.expiresAt),
userId: note.userId,
});