Switch the button

This commit is contained in:
James Cole 2023-03-04 22:17:19 +01:00
parent 5291f485ac
commit 79951453cd
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -318,7 +318,7 @@
url = '{{ route('api.v1.data.purge') }}'; url = '{{ route('api.v1.data.purge') }}';
} }
if (link.data('type') === 'unused_accounts') { if (link.data('type') === 'unused_accounts') {
url = deleteAPIRoute + '?objects=accounts&unused=true'; url = deleteAPIRoute + '?objects=not_assets_liabilities&unused=true';
} }
// replace icon with loading thing // replace icon with loading thing