mirror of
https://github.com/usememos/memos.git
synced 2025-12-09 13:46:24 +08:00
chore: fix linter
This commit is contained in:
parent
c76ab87a0a
commit
6904dc16af
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ import (
|
|||
"github.com/usememos/memos/store"
|
||||
)
|
||||
|
||||
func (s *APIV1Service) ListAllUserStats(ctx context.Context, request *v1pb.ListAllUserStatsRequest) (*v1pb.ListAllUserStatsResponse, error) {
|
||||
func (s *APIV1Service) ListAllUserStats(ctx context.Context, _ *v1pb.ListAllUserStatsRequest) (*v1pb.ListAllUserStatsResponse, error) {
|
||||
currentUser, err := s.GetCurrentUser(ctx)
|
||||
if err != nil {
|
||||
return nil, status.Errorf(codes.Internal, "failed to get user: %v", err)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue