From 55a74654db337faea8aa8090b4245ab8e9320bc7 Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Fri, 14 Aug 2026 23:18:29 +0200 Subject: [PATCH] Addition of a missing ',' --- Web/templates/library_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/templates/library_table.html b/Web/templates/library_table.html index eced068..bf83123 100644 --- a/Web/templates/library_table.html +++ b/Web/templates/library_table.html @@ -939,7 +939,7 @@ const response = await fetch(`/api/is_student_card/${encodeURIComponent(code)}`, { method: 'POST', headers: { - 'Content-Type': 'application/json' + 'Content-Type': 'application/json', // Falls du in Flask CSRF-Protect nutzt, muss der Token mitgesendet werden: 'X-CSRFToken': '{{ csrf_token }}', 'X-CSRF-Token': '{{ csrf_token }}'