add bearer tokens for functions

This commit is contained in:
smanylov
2026-06-02 11:39:54 +07:00
parent 743db57bb3
commit 7d0fb265d4
7 changed files with 42 additions and 19 deletions
+2 -2
View File
@@ -359,8 +359,8 @@ export async function createPayoutRequest(
const response = await fetch(`${API_BASE_URL}/api/payouts/create-request`, {
method: 'POST',
body: JSON.stringify({
"amount": amount,
"payoutMethodId": payoutMethodId
'amount': amount,
'payoutMethodId': payoutMethodId
}),
headers: {
'Content-Type': 'application/json',