diff options
Diffstat (limited to 'src/features/planSelection/api.js')
-rw-r--r-- | src/features/planSelection/api.js | 4 |
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 @@ | |||
1 | import { sendAuthRequest } from '../../api/utils/auth'; | 1 | import { sendAuthRequest } from '../../api/utils/auth'; |
2 | import { API, API_VERSION } from '../../environment'; | ||
3 | import Request from '../../stores/lib/Request'; | 2 | import Request from '../../stores/lib/Request'; |
3 | import apiBase from '../../api/apiBase'; | ||
4 | 4 | ||
5 | const debug = require('debug')('Ferdi:feature:planSelection:api'); | 5 | const debug = require('debug')('Ferdi:feature:planSelection:api'); |
6 | 6 | ||
7 | export const planSelectionApi = { | 7 | export 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 | }; |