changed POST method to PUT for end subscription

This commit is contained in:
Fran Jurmanovic
2021-08-02 10:20:43 -07:00
parent f0c45f25cd
commit dbf6cf2578

View File

@@ -6,7 +6,7 @@ class SubscriptionService extends BaseService {
} }
endSubscription = (id) => { endSubscription = (id) => {
return this.appService.post(this.endpoint + `/end`, {id}, null); return this.appService.put(this.endpoint + `/end/${id}`, null, null);
}; };
} }