diff --git a/server/router/api/v1/memo_service.go b/server/router/api/v1/memo_service.go index 150b8685f..a07b5b9a0 100644 --- a/server/router/api/v1/memo_service.go +++ b/server/router/api/v1/memo_service.go @@ -679,7 +679,6 @@ func (s *APIV1Service) ListMemoComments(ctx context.Context, request *v1pb.ListM return response, nil } - func (s *APIV1Service) getContentLengthLimit(ctx context.Context) (int, error) { workspaceMemoRelatedSetting, err := s.Store.GetWorkspaceMemoRelatedSetting(ctx) if err != nil { diff --git a/web/src/components/MemoEditor/index.tsx b/web/src/components/MemoEditor/index.tsx index 921dda459..3a5f2b848 100644 --- a/web/src/components/MemoEditor/index.tsx +++ b/web/src/components/MemoEditor/index.tsx @@ -395,10 +395,7 @@ const MemoEditor = observer((props: Props) => { relations: state.relationList, location: state.location, }), - // Optional fields can be omitted memoId: "", - validateOnly: false, - requestId: "", }) : memoServiceClient .createMemoComment({