Finish UI
This commit is contained in:
@@ -146,7 +146,19 @@ const updatesAPI = {
|
||||
})
|
||||
.then(fetchRespHandler)
|
||||
.catch(errorHandler);
|
||||
}
|
||||
},
|
||||
|
||||
addSUMSVersionRxSwins: async (sums_version, data, token) =>
|
||||
fetch(`${API_ENDPOINT}/manifest/sums/${sums_version}/rxswins`, {
|
||||
method: "POST",
|
||||
headers: Object.assign(
|
||||
{ "Content-Type": "application/json" },
|
||||
getAuthHeaderOptions(token)
|
||||
),
|
||||
body: JSON.stringify(data),
|
||||
})
|
||||
.then(fetchRespHandler)
|
||||
.catch(errorHandler),
|
||||
};
|
||||
|
||||
export default updatesAPI;
|
||||
Reference in New Issue
Block a user