From 484bdd73d10b016fe234daac315045fc50f29bf1 Mon Sep 17 00:00:00 2001 From: suriya Date: Sat, 13 Apr 2024 11:22:58 -0400 Subject: [PATCH] Constant user --- lib/req/reqest_utils.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/req/reqest_utils.dart b/lib/req/reqest_utils.dart index 6caf541..81a6008 100644 --- a/lib/req/reqest_utils.dart +++ b/lib/req/reqest_utils.dart @@ -11,8 +11,8 @@ import '../main.dart'; Future> getHeaders() async { CustomUser? user = await UserProvider().getUser(); return { - 'Cookie': user?.cookie ?? '', - 'X-CSRFToken': user?.csrfToken ?? '', + 'Cookie': 'csrftoken=hMJOYlzD9z8IRGXGTH872Ky7soeOoiUj; sessionid=xtyefw3xfrqzvsur2av097hnwwzz4ump', + 'X-CSRFToken': 'hMJOYlzD9z8IRGXGTH872Ky7soeOoiUj', }; }