Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
raararaara committed Jan 9, 2024
1 parent 81410ba commit d391669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/rpc/interceptors/admin_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,5 +178,5 @@ func (i *AdminAuthInterceptor) authenticate(
}
}

return nil, grpcstatus.Errorf(codes.Unauthenticated, "authorization is invalid")
return nil, connect.NewError(connect.CodeUnauthenticated, ErrUnauthenticated)
}

0 comments on commit d391669

Please sign in to comment.