mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-21 17:12:15 +00:00
- Moved chunk size option to .env
- Added ability into App Settings to flush application cache - Renew password page logo fix - removed put|patch|delete methods from axios and replaced by faking these methods to support incompatible shared hostings where you can't install php extension to support these methods. - Getting unique_ids fix
This commit is contained in:
@@ -193,7 +193,9 @@
|
||||
|
||||
this.deletingID = data.id
|
||||
|
||||
axios.delete('/api/user/payment-cards/' + data.id)
|
||||
axios.post('/api/user/payment-cards/' + data.id, {
|
||||
_method: 'delete'
|
||||
})
|
||||
.then(() => {
|
||||
|
||||
// Get payments card
|
||||
@@ -215,8 +217,9 @@
|
||||
|
||||
if (data.operation === 'set-as-default-credit-card') {
|
||||
|
||||
axios.patch('/api/user/payment-cards/' + data.id, {
|
||||
default: 1
|
||||
axios.post('/api/user/payment-cards/' + data.id, {
|
||||
default: 1,
|
||||
_method: 'patch'
|
||||
})
|
||||
.then(() => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user