Skip to content

Commit

Permalink
make durable durable
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgimenes committed Mar 9, 2024
1 parent 2bda625 commit 2148e80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/realtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ export class Realtime implements DurableObject {
router: Router;
timestamp: number;

constructor(state: DurableObjectState, ephemeral = false) {
constructor(state: DurableObjectState, _env: Env, ephemeral = false) {
this.textState = new Map();
this.state = state;
this.timestamp = Date.now();
Expand Down Expand Up @@ -492,7 +492,7 @@ export class Realtime implements DurableObject {
}

export class EphemeralRealtime extends Realtime {
constructor(state: DurableObjectState) {
super(state, true);
constructor(state: DurableObjectState, env: Env) {
super(state, env, true);
}
}

0 comments on commit 2148e80

Please sign in to comment.