user data
This commit is contained in:
@@ -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}` } : {}),
|
||||
|
||||
Reference in New Issue
Block a user