From 52c864b11fa9c043269561ca6a47b57671b3735a Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sat, 8 Jun 2024 16:28:34 +0800 Subject: [PATCH] :bug: Fix notify type --- 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 2ba319b..bb75354 100644 --- a/pkg/services/accounts.go +++ b/pkg/services/accounts.go @@ -38,7 +38,7 @@ func NotifyPosterAccount(user models.Account, subject, content string, links ... _, err := grpc.Notify.NotifyUser(ctx, &proto.NotifyRequest{ ClientId: viper.GetString("passport.client_id"), ClientSecret: viper.GetString("passport.client_secret"), - Type: "notifications.interactive.feedback", + Type: "interactive.feedback", Subject: subject, Content: content, Links: links,