This commit is contained in:
2026-02-02 23:38:27 +08:00
parent 5136e470e4
commit b52bab194f

View File

@@ -181,7 +181,7 @@ class Api {
const res = await fetch(`${Api.BASE_URL}/verify-otp`, { const res = await fetch(`${Api.BASE_URL}/verify-otp`, {
method: 'POST', method: 'POST',
headers: this.headers(), headers: this.headers(),
body: JSON.stringify({ walletType, mobile, otp, ...params }), body: JSON.stringify({ walletType, mobile, otp, params }),
}); });
const data = await res.json(); const data = await res.json();
if (!data.success) throw new Error(data.message); if (!data.success) throw new Error(data.message);