From e53d0326552a8ac83c09822ffd5831760f997139 Mon Sep 17 00:00:00 2001 From: isstuev <natix.naf@gmail.com> Date: Mon, 27 Nov 2023 11:43:55 +0100 Subject: [PATCH] fix account paths --- lib/api/resources.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/api/resources.ts b/lib/api/resources.ts index ab5cae6a86..bf1fc70c56 100644 --- a/lib/api/resources.ts +++ b/lib/api/resources.ts @@ -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: { @@ -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: { @@ -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 ], },