chore: fix memo converter

pull/4286/head
johnnyjoy 8 months ago
parent 65da94521d
commit d9d6f73330

@ -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)
}

Loading…
Cancel
Save