mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-30 19:46:38 +08:00
Fix subscription restore and media library entry links
This commit is contained in:
@@ -39,6 +39,9 @@ export const subscriptionsAPI = {
|
||||
|
||||
remove: (id: string) => api.delete(`/subscriptions/${id}`).then((r) => r.data),
|
||||
|
||||
restore: (id: string) =>
|
||||
api.post<Subscription>(`/subscriptions/${id}/restore`).then((r) => r.data),
|
||||
|
||||
runNow: (id: string) =>
|
||||
api.post<{ queued: number }>(`/subscriptions/${id}/run`).then((r) => r.data),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user