From 4b41bfe81a9d804d8e7bcf752060bfa563327dd8 Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 31 Aug 2022 10:26:34 -0400 Subject: [PATCH] Request extended details when modifying history attributes --- client/src/store/historyStore/model/queries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/store/historyStore/model/queries.js b/client/src/store/historyStore/model/queries.js index 6340568c1b7..a8f76192a01 100644 --- a/client/src/store/historyStore/model/queries.js +++ b/client/src/store/historyStore/model/queries.js @@ -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); }