aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/planSelection/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/planSelection/api.js')
-rw-r--r--src/features/planSelection/api.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/planSelection/api.js b/src/features/planSelection/api.js
index 65e6c2e82..16bf9ff2d 100644
--- a/src/features/planSelection/api.js
+++ b/src/features/planSelection/api.js
@@ -1,12 +1,12 @@
1import { sendAuthRequest } from '../../api/utils/auth'; 1import { sendAuthRequest } from '../../api/utils/auth';
2import { API, API_VERSION } from '../../environment';
3import Request from '../../stores/lib/Request'; 2import Request from '../../stores/lib/Request';
3import apiBase from '../../api/apiBase';
4 4
5const debug = require('debug')('Ferdi:feature:planSelection:api'); 5const debug = require('debug')('Ferdi:feature:planSelection:api');
6 6
7export const planSelectionApi = { 7export const planSelectionApi = {
8 downgrade: async () => { 8 downgrade: async () => {
9 const url = `${API}/${API_VERSION}/payment/downgrade`; 9 const url = `${apiBase()}/payment/downgrade`;
10 const options = { 10 const options = {
11 method: 'PUT', 11 method: 'PUT',
12 }; 12 };