Skip to content

Commit

Permalink
gosimple compare fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoon Prins committed Dec 9, 2020
1 parent e12d56e commit e91cf70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/grpc/services/datatx/datatx.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (s *service) CreateTransfer(ctx context.Context, req *datatx.CreateTransfer
var txID int64

u, ok := user.ContextGetUser(ctx)
if ok == false {
if !ok {
return nil, errors.New("could not find user in context")
}

Expand Down

0 comments on commit e91cf70

Please sign in to comment.