mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +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 {
|
try {
|
||||||
const response = await fetch(`${BackendApiUrl}/Payment/GetCurrentMoney`, {
|
const response = await fetch(`${BackendApiUrl}/Payment/GetCurrentMoney`, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
|
mode: 'no-cors',
|
||||||
headers: {
|
headers: {
|
||||||
|
"Content-Type": "application/json",
|
||||||
'AUTHTOKEN': authToken,
|
'AUTHTOKEN': authToken,
|
||||||
'SearchToken': searchToken
|
'SearchToken': searchToken
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user