🐛 Fix model relation issue

This commit is contained in:
2024-07-16 00:05:09 +08:00
parent a8d919dc5b
commit 4795da84f9
8 changed files with 21 additions and 47 deletions

View File

@ -47,7 +47,7 @@ func notifyAllUser(c *fiber.Ctx) error {
Body: data.Body,
IsRealtime: data.IsRealtime,
IsForcePush: data.IsForcePush,
UserID: user.ID,
AccountID: user.ID,
}
if data.IsRealtime {
@ -103,7 +103,7 @@ func notifyOneUser(c *fiber.Ctx) error {
Body: data.Body,
IsRealtime: data.IsRealtime,
IsForcePush: data.IsForcePush,
UserID: user.ID,
AccountID: user.ID,
}
if data.IsRealtime {