Merge branch 'main' into CEC-5542
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user