Merge branch 'main' into CEC-5542

This commit is contained in:
Paul Adamsen
2024-05-02 09:57:09 -04:00
committed by GitHub
15 changed files with 357 additions and 102 deletions

View File

@@ -360,6 +360,17 @@ const vehiclesAPI = {
}).then(fetchRespHandler)
.catch(errorHandler)
},
getOSVersions: async (token) => {
return fetch(`${API_ENDPOINT}/manifests_active_os_versions`, {
method: "GET",
headers: Object.assign(
{ "Content-Type": "application/json" },
getAuthHeaderOptions(token)
),
}).then(fetchRespHandler)
.catch(errorHandler)
},
};
export default vehiclesAPI;