From d9d6f733306eff591c9b36503f2fc5a0d6953658 Mon Sep 17 00:00:00 2001 From: johnnyjoy Date: Wed, 8 Jan 2025 20:57:34 +0800 Subject: [PATCH] chore: fix memo converter --- server/router/api/v1/memo_service_converter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/router/api/v1/memo_service_converter.go b/server/router/api/v1/memo_service_converter.go index e3b98704f..a241ceb93 100644 --- a/server/router/api/v1/memo_service_converter.go +++ b/server/router/api/v1/memo_service_converter.go @@ -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) }