Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Update pkg/server/singleprocess/auth.go
Browse files Browse the repository at this point in the history
Co-authored-by: Shirley Xiaolin Xu <34314221+xiaolin-ninja@users.noreply.github.com>
  • Loading branch information
izaaklauer and xiaolin-ninja committed Apr 4, 2022
1 parent 2f47074 commit 6dfe8e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/singleprocess/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ func (s *Service) ConvertInviteToken(ctx context.Context, req *pb.ConvertInviteT
// Setup the login information for the new user
invite.Login.UserId, err = s.encodeId(ctx, user.Id)
if err != nil {
msg := "failed to the current user's id when converting an invite token"
msg := "failed to encode the current user's id when converting an invite token"
log.Error(msg, "user.Id", user.Id, "err", err)
return nil, status.Error(codes.InvalidArgument, msg)
}
Expand Down

0 comments on commit 6dfe8e5

Please sign in to comment.