mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-24 01:50:38 +00:00
implemented subscription page
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="card shadow-card">
|
||||
<DatatableWrapper
|
||||
@init="isLoading = false"
|
||||
api="/api/subscription/transactions"
|
||||
api="/api/subscriptions/transactions"
|
||||
:paginator="true"
|
||||
:columns="columns"
|
||||
>
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
|
||||
// Send post request
|
||||
axios
|
||||
.post('/api/subscription/cancel')
|
||||
.post('/api/subscriptions/cancel')
|
||||
.then(() => {
|
||||
|
||||
// Update user data
|
||||
@@ -128,7 +128,7 @@
|
||||
})
|
||||
},
|
||||
fetchSubscriptionDetail() {
|
||||
axios.get('/api/subscription/detail')
|
||||
axios.get('/api/subscriptions/detail')
|
||||
.then(response => {
|
||||
|
||||
this.subscription = response.data.data
|
||||
|
||||
Reference in New Issue
Block a user