Fix acceptance criteria toggle ajax responses
linter / quality (pull_request) Successful in 1m26s
tests / ci (8.4) (pull_request) Successful in 1m35s

This commit is contained in:
2026-05-20 09:53:21 +00:00
parent eac1ae5c45
commit b5ba09d350
3 changed files with 56 additions and 2 deletions
+1 -1
View File
@@ -414,7 +414,7 @@ const persistAcceptanceCriteriaToggle = async (
method: 'PATCH',
credentials: 'same-origin',
headers: {
Accept: 'text/html, application/xhtml+xml',
Accept: 'application/json',
'Content-Type': 'application/json',
'X-CSRF-TOKEN': csrfToken ?? '',
'X-Requested-With': 'XMLHttpRequest',