Skip to content

Commit

Permalink
Constant user
Browse files Browse the repository at this point in the history
  • Loading branch information
subygan committed Apr 13, 2024
1 parent b2d64b9 commit 484bdd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/req/reqest_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import '../main.dart';
Future<Map<String, String>> getHeaders() async {
CustomUser? user = await UserProvider().getUser();
return {
'Cookie': user?.cookie ?? '',
'X-CSRFToken': user?.csrfToken ?? '',
'Cookie': 'csrftoken=hMJOYlzD9z8IRGXGTH872Ky7soeOoiUj; sessionid=xtyefw3xfrqzvsur2av097hnwwzz4ump',
'X-CSRFToken': 'hMJOYlzD9z8IRGXGTH872Ky7soeOoiUj',
};
}

Expand Down

0 comments on commit 484bdd7

Please sign in to comment.