mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-28 23:08:17 +09:00
Fix bug
This commit is contained in:
parent
06c621acc1
commit
64bbc55336
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user