Fix: Add header in every API call.

" 'X-Login-Type': 'IB',"
This commit is contained in:
2025-10-27 11:56:36 +05:30
parent 3f1bbf1a4c
commit 7ba258dc21
25 changed files with 55 additions and 13 deletions

View File

@@ -85,6 +85,7 @@ export default function SendToBeneficiaryOwn() {
method: "GET",
headers: {
"Content-Type": "application/json",
"X-Login-Type": "IB",
Authorization: `Bearer ${token}`,
},
});
@@ -115,6 +116,7 @@ export default function SendToBeneficiaryOwn() {
method: "GET",
headers: {
"Content-Type": "application/json",
"X-Login-Type": "IB",
Authorization: `Bearer ${token}`,
},
});
@@ -263,6 +265,7 @@ export default function SendToBeneficiaryOwn() {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Login-Type": "IB",
Authorization: `Bearer ${token}`,
},
body: JSON.stringify({

View File

@@ -114,6 +114,7 @@ export default function SendToBeneficiaryOthers() {
method: "GET",
headers: {
"Content-Type": "application/json",
"X-Login-Type": "IB",
Authorization: `Bearer ${token}`,
},
});
@@ -172,6 +173,7 @@ export default function SendToBeneficiaryOthers() {
method: "GET",
headers: {
"Content-Type": "application/json",
"X-Login-Type": "IB",
Authorization: `Bearer ${token}`,
},
});
@@ -309,6 +311,7 @@ export default function SendToBeneficiaryOthers() {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Login-Type": "IB",
Authorization: `Bearer ${token}`,
},
body: JSON.stringify({