mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-13 06:08:12 +09:00
Fix bug
This commit is contained in:
parent
967e8595d4
commit
951d3a7090
@ -27,6 +27,7 @@ export const meta = {
|
|||||||
export default define(meta, async (ps, user) => {
|
export default define(meta, async (ps, user) => {
|
||||||
// if already subscribed
|
// if already subscribed
|
||||||
const exist = await SwSubscriptions.findOne({
|
const exist = await SwSubscriptions.findOne({
|
||||||
|
createdAt: new Date(),
|
||||||
userId: user.id,
|
userId: user.id,
|
||||||
endpoint: ps.endpoint,
|
endpoint: ps.endpoint,
|
||||||
auth: ps.auth,
|
auth: ps.auth,
|
||||||
|
Loading…
Reference in New Issue
Block a user