chore: tweak linter warnings

This commit is contained in:
Steven
2024-08-20 08:25:34 +08:00
parent 2999f472dd
commit b376a20fb4
3 changed files with 3 additions and 4 deletions

View File

@ -60,7 +60,6 @@ func (s *APIV1Service) CreateMemo(ctx context.Context, request *v1pb.CreateMemoR
}
if len(create.Content) > contentLengthLimit {
return nil, status.Errorf(codes.InvalidArgument, "content too long (max %d characters)", contentLengthLimit)
}
property, err := memoproperty.GetMemoPropertyFromContent(create.Content)
if err != nil {