manage user credancial

This commit is contained in:
Jaanu423
2025-09-23 13:50:26 +05:30
11 changed files with 310 additions and 40 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}` } : {}),
+1
View File
@@ -17,3 +17,4 @@ export const PUT_USER_PROFILE = `${BASE_URL}user/profile/update`
export const PUT_USER_STATUS = `${BASE_URL}user/profile/status`
export const USER_REQUEST = `${BASE_URL}fund/my-requests`
export const GROUP_ALL_MEMBER = `${BASE_URL}fund/group/all/member`
export const UPDATE_BANK_URL = `${BASE_URL}user/bank/update`;