Skip to content

Commit c41ad34

Browse files
committed
Using static Date.now()
1 parent 85b9c99 commit c41ad34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

create.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function main(event, context, callback) {
1111
noteId: uuid.v1(),
1212
content: data.content,
1313
attachment: data.attachment,
14-
createdAt: new Date().getTime()
14+
createdAt: Date.now()
1515
}
1616
};
1717

0 commit comments

Comments
 (0)