Skip to content

Commit

Permalink
fix: field
Browse files Browse the repository at this point in the history
  • Loading branch information
Cbgogogog committed Dec 24, 2023
1 parent a5579f2 commit da8a213
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions biz/infrastructure/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ func ConvertNotification(in *db.Notification) *system.Notification {
SourceUserId: in.SourceUserId,
SourceContentId: in.SourceContentId,
Type: in.Type,
TargetType: in.TargetType,
Text: in.Text,
CreateAt: in.CreateAt.Unix(),
IsRead: in.IsRead,
Expand All @@ -81,6 +82,7 @@ func ConvertNotifications(in []*db.Notification) []*system.Notification {
SourceUserId: v.SourceUserId,
SourceContentId: v.SourceContentId,
Type: v.Type,
TargetType: v.TargetType,
Text: v.Text,
CreateAt: v.CreateAt.Unix(),
IsRead: v.IsRead,
Expand Down

0 comments on commit da8a213

Please sign in to comment.