From f8377e7029295f3b1f9096138a6c9d46e1c41d65 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 31 Mar 2024 22:49:32 +0800 Subject: [PATCH] :bug: Fix notify --- pkg/services/accounts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/accounts.go b/pkg/services/accounts.go index c42fbea..c59277f 100644 --- a/pkg/services/accounts.go +++ b/pkg/services/accounts.go @@ -44,7 +44,7 @@ func NotifyAccount(user models.Account, subject, content string, realtime bool, Subject: subject, Content: content, Links: links, - RecipientId: uint64(user.ID), + RecipientId: uint64(user.ExternalID), IsRealtime: realtime, IsImportant: false, })