Add missing config parameter in services

This commit is contained in:
Bubka
2023-10-30 12:57:19 +01:00
parent d74e0cedac
commit 0bc488057d
3 changed files with 9 additions and 9 deletions

View File

@ -40,11 +40,11 @@ export default {
},
withdraw(ids, config = {}) {
return apiClient.patch('/twofaccounts/withdraw?ids=' + ids.join())
return apiClient.patch('/twofaccounts/withdraw?ids=' + ids.join(), { ...config })
},
saveOrder(orderedIds, config = {}) {
return apiClient.post('/twofaccounts/reorder', { orderedIds: orderedIds })
return apiClient.post('/twofaccounts/reorder', { orderedIds: orderedIds }, { ...config })
},
batchDelete(ids, config = {}) {