refactor: remove resource uid

This commit is contained in:
johnnyjoy
2025-02-01 12:50:15 +08:00
parent 97d12db3d5
commit 0dcd0904e8
12 changed files with 180 additions and 412 deletions

View File

@@ -29,7 +29,6 @@ func (s *APIV1Service) convertMemoFromStore(ctx context.Context, memo *store.Mem
name := fmt.Sprintf("%s%s", MemoNamePrefix, memo.UID)
memoMessage := &v1pb.Memo{
Name: name,
Uid: memo.ID,
State: convertStateFromStore(memo.RowStatus),
Creator: fmt.Sprintf("%s%d", UserNamePrefix, memo.CreatorID),
CreateTime: timestamppb.New(time.Unix(memo.CreatedTs, 0)),