mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
changed POST method to PUT for end subscription
This commit is contained in:
@@ -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);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user