Request extended details when modifying history attributes

This commit is contained in:
guerler
2022-08-31 10:26:34 -04:00
parent c09ac64c1a
commit 4b41bfe81a
@@ -128,7 +128,7 @@ export async function deleteHistoryById(id, purge = false) {
*/
export async function updateHistoryFields(id, payload) {
const url = `api/histories/${id}`;
const response = await axios.put(prependPath(url), payload, { params: stdHistoryParams });
const response = await axios.put(prependPath(url), payload, { params: extendedHistoryParams });
const props = doResponse(response);
return new History(props);
}