Skip to content

Commit

Permalink
fix(repeater): remove unused declaration (#428)
Browse files Browse the repository at this point in the history
fixes #426
  • Loading branch information
denis-maiorov-brightsec authored Aug 4, 2023
1 parent 2873d40 commit 9a222f2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Repeater/ServerRepeaterLauncher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { delay, inject, injectAll, injectable } from 'tsyringe';
@injectable()
export class ServerRepeaterLauncher implements RepeaterLauncher {
private static SERVICE_NAME = 'bright-repeater';
private repeaterId: string | undefined;
private repeaterStarted: boolean = false;

constructor(
Expand Down Expand Up @@ -106,9 +105,7 @@ export class ServerRepeaterLauncher implements RepeaterLauncher {

this.subscribeToEvents();

const result = await this.repeaterServer.deploy(repeaterId);

this.repeaterId = result.repeaterId;
await this.repeaterServer.deploy(repeaterId);

this.repeaterStarted = true;

Expand Down

0 comments on commit 9a222f2

Please sign in to comment.