From 804fb2359cb395d372761982acf93439e595da7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Hora=C4=8Dek?= Date: Wed, 11 Sep 2019 14:57:32 +0200 Subject: [PATCH] [DDW-871] Delete Wallet V2 API integration (#1552) * [DDW-860] Introduce improvements for already integrated wallets API v2 endpoint * [DDW-860] Wallets endpoint flow code cleanup and removing unnecessary assurance declarations * [DDW-860] Introduce improvements for already integrated getAddresses API v2 endpoint * [DDW-680] Fix broken transactions screen * [DDW-860] Types improvements regarding to requested changes * [DDW-861] Introduce new error handling logic related to api v2 responsees * [DDW-861] Fix flow issue * [DDW-861] Shortens .map callback functions * [DDW-861] Fixes ESLint error * [DDW-871] Introduce Delete Wallet v2 API endpoint integration * CHANGELOG update * [DDW-871] Eslint fix --- CHANGELOG.md | 2 +- source/renderer/app/api/wallets/requests/deleteWallet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb1e2ef9c5..946202ff42 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ Changelog ### Features -- Integrated Cardano V2 API endpoints ([PR 1548](https://github.com/input-output-hk/daedalus/pull/1548), [PR 1551](https://github.com/input-output-hk/daedalus/pull/1551)) +- Integrated Cardano V2 API endpoints ([PR 1548](https://github.com/input-output-hk/daedalus/pull/1548), [PR 1551](https://github.com/input-output-hk/daedalus/pull/1551), [PR 1552](https://github.com/input-output-hk/daedalus/pull/1552)) - Removed select dropdown arrow ([PR 1550](https://github.com/input-output-hk/daedalus/pull/1550)) - Implemented automated and manual update flows unification ([PR 1491](https://github.com/input-output-hk/daedalus/pull/1491)) - Updated behavior of system dialogs ([PR 1494](https://github.com/input-output-hk/daedalus/pull/1494)) diff --git a/source/renderer/app/api/wallets/requests/deleteWallet.js b/source/renderer/app/api/wallets/requests/deleteWallet.js index f364ec008b..b4188a8dc0 100644 --- a/source/renderer/app/api/wallets/requests/deleteWallet.js +++ b/source/renderer/app/api/wallets/requests/deleteWallet.js @@ -9,6 +9,6 @@ export const deleteWallet = ( ): Promise<*> => request({ method: 'DELETE', - path: `/api/v1/wallets/${walletId}`, + path: `/v2/wallets/${walletId}`, ...config, });