Fix blocklist CSRF token reference error
- Use state.csrfToken instead of undefined csrfToken variable - Fixes ReferenceError when clicking blocklist button
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ export async function handleBlocklistSearch(download) {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'X-CSRF-Token': csrfToken
|
||||
'X-CSRF-Token': state.csrfToken
|
||||
},
|
||||
body: JSON.stringify({
|
||||
arrQueueId: download.arrQueueId,
|
||||
|
||||
Reference in New Issue
Block a user