Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 committed Mar 28, 2024
1 parent d429f10 commit 265273c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
3 changes: 2 additions & 1 deletion packages/gil/lib/adapters/db/PostgresAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export class PostgresAdapter extends DatabaseAdapter {

public async getServer(serverId: string): Promise<StoredServer | null> {
const [server] = await this.pg`
SELECT * FROM ${this.pg(this.options.serverTable)} WHERE ${this.pg(this.options.serverIdKey)} = ${serverId}
SELECT * FROM ${this.pg(this.options.serverTable)}
WHERE ${this.pg(this.options.serverIdKey)} = ${serverId}
`;
if (!server) return null;

Expand Down
13 changes: 0 additions & 13 deletions packages/gil/test/index.ts

This file was deleted.

0 comments on commit 265273c

Please sign in to comment.