We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db7f896 commit d226192Copy full SHA for d226192
src/apps/wallet-admin/src/lib/services/wallet.ts
@@ -79,12 +79,11 @@ export async function editPayment(updates: {
79
}): Promise<string> {
80
const body = JSON.stringify(updates)
81
const url = `${baseUrl}/admin/winnings`
82
-
+
83
const response = await xhrPatchAsync<string, ApiResponse<string>>(url, body)
84
85
if (response.status === 'error') {
86
if (response.error && response.error.message) {
87
- console.log(response.error.message)
88
throw new Error(response.error.message)
89
}
90
throw new Error('Error editing payment')
0 commit comments