mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
14 lines
338 B
TypeScript
14 lines
338 B
TypeScript
import { AppService, BaseService } from 'core/services';
|
|
|
|
class SubscriptionService extends BaseService {
|
|
constructor(public appService: AppService) {
|
|
super('/subscription', appService);
|
|
}
|
|
|
|
endSubscription = (id) => {
|
|
return this.appService.put(this.endpoint + `/end/${id}`, null, null);
|
|
};
|
|
}
|
|
|
|
export default SubscriptionService;
|