Skip to content

Commit

Permalink
feat: update auth client
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZexiao committed Dec 19, 2022
1 parent a508f10 commit 07e5278
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 124 deletions.
2 changes: 1 addition & 1 deletion api/clients/signer/gateway_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type WrapperGatewayClient struct {
}

func (w *WrapperGatewayClient) getAccountsOfSigner(ctx context.Context, addr address.Address) ([]string, error) {
users, err := w.authClient.GetUserBySigner(addr.String())
users, err := w.authClient.GetUserBySigner(ctx, addr)
if err != nil {
return nil, err
}
Expand Down
Loading

0 comments on commit 07e5278

Please sign in to comment.