Skip to content

Commit

Permalink
Merge pull request #1369 from blockscout/fe-1367
Browse files Browse the repository at this point in the history
fix account paths
  • Loading branch information
isstuev authored Nov 27, 2023
2 parents 3289673 + e53d032 commit 0dd1019
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/api/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ export const SORTING_FIELDS = [ 'sort', 'order' ];
export const RESOURCES = {
// ACCOUNT
csrf: {
path: '/api/account/v1/get_csrf',
path: '/api/account/v2/get_csrf',
},
user_info: {
path: '/api/account/v1/user/info',
path: '/api/account/v2/user/info',
},
email_resend: {
path: '/api/account/v1/email/resend',
path: '/api/account/v2/email/resend',
},
custom_abi: {
path: '/api/account/v1/user/custom_abis/:id?',
path: '/api/account/v2/user/custom_abis/:id?',
pathParams: [ 'id' as const ],
},
watchlist: {
Expand All @@ -95,7 +95,7 @@ export const RESOURCES = {
filterFields: [ ],
},
public_tags: {
path: '/api/account/v1/user/public_tags/:id?',
path: '/api/account/v2/user/public_tags/:id?',
pathParams: [ 'id' as const ],
},
private_tags_address: {
Expand All @@ -109,7 +109,7 @@ export const RESOURCES = {
filterFields: [ ],
},
api_keys: {
path: '/api/account/v1/user/api_keys/:id?',
path: '/api/account/v2/user/api_keys/:id?',
pathParams: [ 'id' as const ],
},

Expand Down

0 comments on commit 0dd1019

Please sign in to comment.