Skip to content

Commit

Permalink
fix build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
karolsojko committed Nov 24, 2023
1 parent 315efd5 commit f255f24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/desktop/app/javascripts/Main/Remote/RemoteBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ export class RemoteBridge implements CrossProcessBridge {
return this.homeServerManager.setHomeServerDataLocation(location)
}

async activatePremiumFeatures(username: string): Promise<string | undefined> {
return this.homeServerManager.activatePremiumFeatures(username)
async activatePremiumFeatures(username: string, subscriptionId: number): Promise<string | undefined> {
return this.homeServerManager.activatePremiumFeatures(username, subscriptionId)
}

async isHomeServerRunning(): Promise<boolean> {
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop/app/javascripts/Renderer/DesktopDevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export class DesktopDevice extends WebOrDesktopDevice implements DesktopDeviceIn
return this.remoteBridge.isHomeServerRunning()
}

async activatePremiumFeatures(username: string): Promise<string | undefined> {
return this.remoteBridge.activatePremiumFeatures(username)
async activatePremiumFeatures(username: string, subscriptionId: number): Promise<string | undefined> {
return this.remoteBridge.activatePremiumFeatures(username, subscriptionId)
}

async setHomeServerConfiguration(configurationJSONString: string): Promise<void> {
Expand Down

0 comments on commit f255f24

Please sign in to comment.