Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix linter issues in backend and frontend

Stevenf65633e8a9b1
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({