Skip to content
Snippets Groups Projects
Unverified Commit 64bbc553 authored by syuilo's avatar syuilo
Browse files

Fix bug

parent 06c621ac
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,7 @@ export const meta = {
export default define(meta, async (ps, user) => {
// if already subscribed
const exist = await SwSubscriptions.findOne({
createdAt: new Date(),
userId: user.id,
endpoint: ps.endpoint,
auth: ps.auth,
......
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