From ea71fced95a6923926c92ada523840ebdbd0ef64 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 8 Apr 2019 15:18:58 +0200 Subject: Replace invoices & subscription info with links to website --- src/api/server/ServerApi.js | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/api/server') diff --git a/src/api/server/ServerApi.js b/src/api/server/ServerApi.js index bafeef005..f6bc9c283 100644 --- a/src/api/server/ServerApi.js +++ b/src/api/server/ServerApi.js @@ -418,23 +418,6 @@ export default class ServerApi { return data; } - async getPaymentDashboardUrl() { - const request = await sendAuthRequest(`${API_URL}/me/billing`); - if (!request.ok) throw request; - const data = await request.json(); - debug('ServerApi::getPaymentDashboardUrl resolves', data); - return data; - } - - async getSubscriptionOrders() { - const request = await sendAuthRequest(`${API_URL}/me/subscription`); - if (!request.ok) throw request; - const data = await request.json(); - const orders = this._mapOrderModels(data); - debug('ServerApi::getSubscriptionOrders resolves', orders); - return orders; - } - // News async getLatestNews() { const url = `${API_URL}/news?platform=${os.platform()}&arch=${os.arch()}&version=${app.getVersion()}`; -- cgit v1.2.3-70-g09d2