Fix: Add header in every API call.
" 'X-Login-Type': 'IB',"
This commit is contained in:
@@ -104,6 +104,7 @@ export default function AddBeneficiaryOthers() {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-Login-Type": "IB",
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
}
|
||||
@@ -189,6 +190,7 @@ export default function AddBeneficiaryOthers() {
|
||||
method: "GET",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-Login-Type": "IB",
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
}
|
||||
@@ -258,6 +260,7 @@ export default function AddBeneficiaryOthers() {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
"X-Login-Type": "IB",
|
||||
Authorization: `Bearer ${token}`,
|
||||
},
|
||||
body: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user