Skip to content

Commit

Permalink
make cleaner again
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-liuu committed Nov 5, 2024
1 parent 1efaba3 commit 15fe030
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,10 @@ export class PrismaSessionStorage<T extends PrismaClient>
try {
await this.pollForTable();
this.ready = Promise.resolve(true);
return true;
} catch (_error) {
this.ready = Promise.resolve(false);
return false;
}
return this.ready;
}

private async ensureReady(): Promise<void> {
Expand Down

0 comments on commit 15fe030

Please sign in to comment.