diff --git a/src/services/SubscriptionService.ts b/src/services/SubscriptionService.ts index 5dc01b6..db74fa6 100644 --- a/src/services/SubscriptionService.ts +++ b/src/services/SubscriptionService.ts @@ -6,7 +6,7 @@ class SubscriptionService extends BaseService { } endSubscription = (id) => { - return this.appService.post(this.endpoint + `/end`, {id}, null); + return this.appService.put(this.endpoint + `/end/${id}`, null, null); }; }