mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
add cancel and reinstate premium
This commit is contained in:
@@ -191,7 +191,15 @@ export class ApiService implements ApiServiceAbstraction {
|
||||
}
|
||||
|
||||
postPremium(data: FormData): Promise<any> {
|
||||
return this.send('POST', '/accounts/premium', data, true, true);
|
||||
return this.send('POST', '/accounts/premium', data, true, false);
|
||||
}
|
||||
|
||||
postReinstatePremium(): Promise<any> {
|
||||
return this.send('POST', '/accounts/reinstate-premium', null, true, false);
|
||||
}
|
||||
|
||||
postCancelPremium(): Promise<any> {
|
||||
return this.send('POST', '/accounts/cancel-premium', null, true, false);
|
||||
}
|
||||
|
||||
// Folder APIs
|
||||
|
||||
Reference in New Issue
Block a user