summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-common.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/features/repo-common.js')
-rw-r--r--web_src/js/features/repo-common.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/features/repo-common.js b/web_src/js/features/repo-common.js
index c050dba34c..2ae4f9c94e 100644
--- a/web_src/js/features/repo-common.js
+++ b/web_src/js/features/repo-common.js
@@ -1,11 +1,11 @@
-const {csrf} = window.config;
+const {csrfToken} = window.config;
function getArchive($target, url, first) {
$.ajax({
url,
type: 'POST',
data: {
- _csrf: csrf,
+ _csrf: csrfToken,
},
complete(xhr) {
if (xhr.status === 200) {