add no cors mod to API for getting money

This commit is contained in:
Hepatica
2023-12-02 05:18:01 +01:00
parent 3744f7d5ee
commit 0d78b3bd13

View File

@@ -27,7 +27,9 @@ export async function GetCurrentMoney(authToken, searchToken) {
try {
const response = await fetch(`${BackendApiUrl}/Payment/GetCurrentMoney`, {
method: 'GET',
mode: 'no-cors',
headers: {
"Content-Type": "application/json",
'AUTHTOKEN': authToken,
'SearchToken': searchToken
}