Skip to content

Commit a5b1082

Browse files
change: Use v4Beta prefix for maintenance endpoint (#12519)
Co-authored-by: Jaalah Ramos <[email protected]>
1 parent 232765e commit a5b1082

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/api-v4/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
### Changed:
55

66
- ACLP:Alerting - fixed the typo from evaluation_periods_seconds to evaluation_period_seconds ([#12466](https://github.com/linode/manager/pull/12466))
7+
- Use `v4beta` for `/maintenance` endpoint
78

89
### Fixed:
910

packages/api-v4/src/account/maintenance.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { API_ROOT, BETA_API_ROOT } from '../constants';
1+
import { BETA_API_ROOT } from '../constants';
22
import Request, { setMethod, setParams, setURL, setXFilter } from '../request';
33

44
import type { Filter, Params, ResourcePage } from '../types';
@@ -12,7 +12,7 @@ import type { AccountMaintenance, MaintenancePolicy } from './types';
1212
*/
1313
export const getAccountMaintenance = (params?: Params, filter?: Filter) =>
1414
Request<ResourcePage<AccountMaintenance>>(
15-
setURL(`${API_ROOT}/account/maintenance`),
15+
setURL(`${BETA_API_ROOT}/account/maintenance`),
1616
setMethod('GET'),
1717
setParams(params),
1818
setXFilter(filter),

0 commit comments

Comments
 (0)