Remove deprecated hosting endpoints
This commit is contained in:
parent
16205644bd
commit
d36122b7bd
|
@ -1,19 +0,0 @@
|
|||
export const buildHostingEndpoints = API => ({
|
||||
/**
|
||||
* Gets the hosting URLs of the environment.
|
||||
*/
|
||||
getHostingURLs: async () => {
|
||||
return await API.get({
|
||||
url: "/api/hosting/urls",
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* Gets the list of deployed apps.
|
||||
*/
|
||||
getDeployedApps: async () => {
|
||||
return await API.get({
|
||||
url: "/api/hosting/apps",
|
||||
})
|
||||
},
|
||||
})
|
|
@ -19,7 +19,6 @@ import { buildAutomationEndpoints } from "./automations"
|
|||
import { buildConfigEndpoints } from "./configs"
|
||||
import { buildDatasourceEndpoints } from "./datasources"
|
||||
import { buildFlagEndpoints } from "./flags"
|
||||
import { buildHostingEndpoints } from "./hosting"
|
||||
import { buildLayoutEndpoints } from "./layouts"
|
||||
import { buildOtherEndpoints } from "./other"
|
||||
import { buildPermissionsEndpoints } from "./permissions"
|
||||
|
@ -261,7 +260,6 @@ export const createAPIClient = (config: APIClientConfig = {}): APIClient => {
|
|||
...buildConfigEndpoints(API),
|
||||
...buildDatasourceEndpoints(API),
|
||||
...buildFlagEndpoints(API),
|
||||
...buildHostingEndpoints(API),
|
||||
...buildLayoutEndpoints(API),
|
||||
...buildOtherEndpoints(API),
|
||||
...buildPermissionsEndpoints(API),
|
||||
|
|
Loading…
Reference in New Issue