A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: notification update answer change object type is answer
LinkinStar1b464573e1d9
diff --git a/internal/service/answer_service.go b/internal/service/answer_service.goindex 719e9474..577c2f4a 100644--- a/internal/service/answer_service.go+++ b/internal/service/answer_service.go@@ -424,7 +424,7 @@ func (as *AnswerService) notificationUpdateAnswer(ctx context.Context, questionUType: schema.NotificationTypeInbox,ObjectID: answerID,}- msg.ObjectType = constant.QuestionObjectType+ msg.ObjectType = constant.AnswerObjectTypemsg.NotificationAction = constant.UpdateAnswernotice_queue.AddNotification(msg)}@@ -436,7 +436,7 @@ func (as *AnswerService) notificationAnswerTheQuestion(ctx context.Context, quesType: schema.NotificationTypeInbox,ObjectID: answerID,}- msg.ObjectType = constant.QuestionObjectType+ msg.ObjectType = constant.AnswerObjectTypemsg.NotificationAction = constant.AnswerTheQuestionnotice_queue.AddNotification(msg)}