mirror of
https://github.com/AmanTahiliani/PeerNotes.git
synced 2026-08-08 04:06:18 -04:00
remove console.logs
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { getSessionCookie } from "../contexts/session";
|
||||
export const getAuthHeaders = () => {
|
||||
const token = getSessionCookie();
|
||||
// const token = localStorage.getItem('authToken');
|
||||
console.log("Using token for API call:", token);
|
||||
return {
|
||||
'Authorization': `Token ${token}`,
|
||||
'Content-Type': 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user