user data

This commit is contained in:
Abin Toppo
2025-09-22 13:54:57 +05:30
parent 5a9e80f56f
commit db268c84ee
5 changed files with 87 additions and 75 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export async function apiCall<T>(
try {
// Get saved credentials from Keychain
const creds = await Keychain.getGenericPassword();
console.log("hihihi", creds);
const headers = {
"Content-Type": "application/json",
...(creds ? { Authorization: `Bearer ${creds.password}` } : {}),