mirror of
https://github.com/usememos/memos.git
synced 2026-01-10 02:18:42 +08:00
chore: fix linter issues in backend and frontend
- Remove extra blank line in memo_service.go (goimports) - Remove invalid fields from CreateMemoRequest call (validateOnly, requestId) - Clean up unnecessary comments 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
243ecf14b0
commit
f65633e8a9
2 changed files with 0 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue