Skip to content

Commit

Permalink
chore: fix memo converter
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyjoygh committed Jan 8, 2025
1 parent 65da945 commit d9d6f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/router/api/v1/memo_service_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Mem
Content: memo.Content,
Visibility: convertVisibilityFromStore(memo.Visibility),
Pinned: memo.Pinned,
Tags: memo.Payload.Tags,
}
if memo.Payload != nil {
memoMessage.Tags = memo.Payload.Tags
memoMessage.Property = convertMemoPropertyFromStore(memo.Payload.Property)
memoMessage.Location = convertLocationFromStore(memo.Payload.Location)
}
Expand Down

0 comments on commit d9d6f73

Please sign in to comment.