🐛 Fix notify type

This commit is contained in:
LittleSheep 2024-06-08 16:28:34 +08:00
parent 11e6218185
commit 52c864b11f

View File

@ -38,7 +38,7 @@ func NotifyPosterAccount(user models.Account, subject, content string, links ...
_, err := grpc.Notify.NotifyUser(ctx, &proto.NotifyRequest{ _, err := grpc.Notify.NotifyUser(ctx, &proto.NotifyRequest{
ClientId: viper.GetString("passport.client_id"), ClientId: viper.GetString("passport.client_id"),
ClientSecret: viper.GetString("passport.client_secret"), ClientSecret: viper.GetString("passport.client_secret"),
Type: "notifications.interactive.feedback", Type: "interactive.feedback",
Subject: subject, Subject: subject,
Content: content, Content: content,
Links: links, Links: links,