mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
changed in wihdraw request claiming arguments
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
// import { Post } from '../rest/RestMethods.js';
|
||||
import { BackendApiUrl } from '@/properties/Сonfig.js';
|
||||
import {GetCookie} from "@/assets/js/storage/CookieStorage";
|
||||
|
||||
export async function GettingMoneyOperation(amount) {
|
||||
const data = {
|
||||
@@ -25,13 +26,15 @@ export async function GettingMoneyOperation(amount) {
|
||||
}
|
||||
}
|
||||
|
||||
export async function WithdrawMoneyOperation(amount, card, captchaToken, searchToken, authToken) {
|
||||
export async function WithdrawMoneyOperation(amount, card, captchaToken) {
|
||||
const data = {
|
||||
amount: amount,
|
||||
card: card,
|
||||
reCaptchaToken: captchaToken,
|
||||
searchToken: searchToken,
|
||||
authtoken: authToken
|
||||
userCredentials: {
|
||||
searchToken: GetCookie('SearchToken'),
|
||||
authtoken: GetCookie('AUTHTOKEN')
|
||||
}
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
@@ -165,7 +165,7 @@ export default {
|
||||
if(this.captchaToken !== '' && this.amountSave > 0) {
|
||||
setTimeout(() => {
|
||||
try {
|
||||
WithdrawMoneyOperation(this.amountSave, this.card.toString(), this.captchaToken, GetCookie('SearchToken'), GetCookie('AUTHTOKEN')).then((response) => {
|
||||
WithdrawMoneyOperation(this.amountSave, this.card.toString(), this.captchaToken).then((response) => {
|
||||
console.log(`work withdraw - ${response}`)
|
||||
this.offBtn = false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user