Commit 0dd1019f authored by Igor Stuev's avatar Igor Stuev Committed by GitHub

Merge pull request #1369 from blockscout/fe-1367

fix account paths
parents 32896734 e53d0326
...@@ -77,16 +77,16 @@ export const SORTING_FIELDS = [ 'sort', 'order' ]; ...@@ -77,16 +77,16 @@ export const SORTING_FIELDS = [ 'sort', 'order' ];
export const RESOURCES = { export const RESOURCES = {
// ACCOUNT // ACCOUNT
csrf: { csrf: {
path: '/api/account/v1/get_csrf', path: '/api/account/v2/get_csrf',
}, },
user_info: { user_info: {
path: '/api/account/v1/user/info', path: '/api/account/v2/user/info',
}, },
email_resend: { email_resend: {
path: '/api/account/v1/email/resend', path: '/api/account/v2/email/resend',
}, },
custom_abi: { custom_abi: {
path: '/api/account/v1/user/custom_abis/:id?', path: '/api/account/v2/user/custom_abis/:id?',
pathParams: [ 'id' as const ], pathParams: [ 'id' as const ],
}, },
watchlist: { watchlist: {
...@@ -95,7 +95,7 @@ export const RESOURCES = { ...@@ -95,7 +95,7 @@ export const RESOURCES = {
filterFields: [ ], filterFields: [ ],
}, },
public_tags: { public_tags: {
path: '/api/account/v1/user/public_tags/:id?', path: '/api/account/v2/user/public_tags/:id?',
pathParams: [ 'id' as const ], pathParams: [ 'id' as const ],
}, },
private_tags_address: { private_tags_address: {
...@@ -109,7 +109,7 @@ export const RESOURCES = { ...@@ -109,7 +109,7 @@ export const RESOURCES = {
filterFields: [ ], filterFields: [ ],
}, },
api_keys: { api_keys: {
path: '/api/account/v1/user/api_keys/:id?', path: '/api/account/v2/user/api_keys/:id?',
pathParams: [ 'id' as const ], pathParams: [ 'id' as const ],
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment