Skip to content

Commit c6b65e9

Browse files
authored
fix(purchases): remove static for logIn, logOut methods (#3709)
1 parent 39ad4d1 commit c6b65e9

File tree

1 file changed

+2
-2
lines changed
  • src/@ionic-native/plugins/purchases

1 file changed

+2
-2
lines changed

src/@ionic-native/plugins/purchases/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export class Purchases extends IonicNativePlugin {
430430
* whether the user has just been created for the first time in the RevenueCat backend.
431431
*/
432432
@Cordova()
433-
static logIn(appUserID: string): Promise<LogInResult> {
433+
logIn(appUserID: string): Promise<LogInResult> {
434434
return;
435435
}
436436

@@ -440,7 +440,7 @@ export class Purchases extends IonicNativePlugin {
440440
* @return {Promise<PurchaserInfo>} new purchaser info after resetting.
441441
*/
442442
@Cordova()
443-
static logOut(): Promise<PurchaserInfo> {
443+
logOut(): Promise<PurchaserInfo> {
444444
return;
445445
}
446446

0 commit comments

Comments
 (0)