mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
add no cors mod to API for getting money
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user