Skip to content

Commit

Permalink
Update shared gRPC library to something that should work
Browse files Browse the repository at this point in the history
  • Loading branch information
elffjs committed Feb 17, 2024
1 parent cf62d49 commit 3950198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/DIMO-Network/token-exchange-api
go 1.21

require (
github.com/DIMO-Network/shared v0.10.8-go121
github.com/DIMO-Network/shared v0.10.9-go121
github.com/DIMO-Network/users-api v0.7.1
github.com/dexidp/dex/api/v2 v2.35.3
github.com/ethereum/go-ethereum v1.13.12
Expand Down
4 changes: 2 additions & 2 deletions internal/services/dex_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/DIMO-Network/shared/privileges"

pi "github.com/DIMO-Network/shared/middleware/privilegetoken"
"github.com/DIMO-Network/shared/middleware/privilegetoken"
"github.com/DIMO-Network/token-exchange-api/internal/config"
dgrpc "github.com/dexidp/dex/api/v2"
"github.com/ethereum/go-ethereum/common"
Expand Down Expand Up @@ -58,7 +58,7 @@ func (d *dexService) SignPrivilegePayload(ctx context.Context, req PrivilegeToke
privs[i] = privileges.Privilege(iD)
}

cc := pi.CustomClaims{
cc := privilegetoken.CustomClaims{
ContractAddress: common.HexToAddress(req.NFTContractAddress),
TokenID: req.TokenID,
PrivilegeIDs: privs,
Expand Down

0 comments on commit 3950198

Please sign in to comment.