mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
UI - Update service to use the latest endpoint (#24188)
## Ad-hoc small improvement, no ticket - [x] Manual QA for all new/changed functionality Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
This commit is contained in:
parent
8b2c04e790
commit
6f34ca465e
2 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ export type IDiskEncryptionSummaryResponse = Record<
|
|||
|
||||
const diskEncryptionService = {
|
||||
getDiskEncryptionSummary: (teamId?: number) => {
|
||||
let { MDM_DISK_ENCRYPTION_SUMMARY: path } = endpoints;
|
||||
let { DISK_ENCRYPTION: path } = endpoints;
|
||||
|
||||
if (teamId) {
|
||||
path = `${path}?${buildQueryStringFromParams({ team_id: teamId })}`;
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ export default {
|
|||
|
||||
MDM_UPDATE_APPLE_SETTINGS: `/${API_VERSION}/fleet/mdm/apple/settings`,
|
||||
PROFILES_STATUS_SUMMARY: `/${API_VERSION}/fleet/configuration_profiles/summary`,
|
||||
MDM_DISK_ENCRYPTION_SUMMARY: `/${API_VERSION}/fleet/mdm/disk_encryption/summary`,
|
||||
DISK_ENCRYPTION: `/${API_VERSION}/fleet/disk_encryption`,
|
||||
MDM_APPLE_SSO: `/${API_VERSION}/fleet/mdm/sso`,
|
||||
MDM_APPLE_ENROLLMENT_PROFILE: (token: string, ref?: string) => {
|
||||
const query = new URLSearchParams({ token });
|
||||
|
|
@ -137,7 +137,7 @@ export default {
|
|||
HOST_MDM_UNENROLL: (id: number) =>
|
||||
`/${API_VERSION}/fleet/mdm/hosts/${id}/unenroll`,
|
||||
HOST_ENCRYPTION_KEY: (id: number) =>
|
||||
`/${API_VERSION}/fleet/mdm/hosts/${id}/encryption_key`,
|
||||
`/${API_VERSION}/fleet/hosts/${id}/encryption_key`,
|
||||
|
||||
ME: `/${API_VERSION}/fleet/me`,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue