Skip to content

Commit

Permalink
chore: use apiVersion v2 on names endpoint (#2805)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiir authored Sep 6, 2024
1 parent 854a8a4 commit 5487a33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/controllers/BlockchainApiController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ export const BlockchainApiController = {
return state.api.get<BlockchainApiLookupEnsName>({
path: `/v1/profile/account/${name}${CommonConstantsUtil.WC_NAME_SUFFIX}`,
params: {
projectId: OptionsController.state.projectId
projectId: OptionsController.state.projectId,
apiVersion: '2'
}
})
},
Expand All @@ -323,7 +324,8 @@ export const BlockchainApiController = {
path: `/v1/profile/reverse/${address}`,
params: {
sender: AccountController.state.address,
projectId: OptionsController.state.projectId
projectId: OptionsController.state.projectId,
apiVersion: '2'
}
})
},
Expand Down

0 comments on commit 5487a33

Please sign in to comment.