Skip to content

Commit 2e1828c

Browse files
committed
Merge branch 'master' into issue-7850
2 parents cb9089a + 0c5f515 commit 2e1828c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/server/accounts/get-name.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function rowsToNames(rows): Names {
4949
export async function getNames(account_ids: string[]): Promise<Names> {
5050
const pool = getPool("long");
5151
const { rows } = await pool.query(
52-
"SELECT account_id, first_name, last_name FROM accounts WHERE account_id=ANY($1::UUID[]) AND deleted IS NULL OR deleted = false",
52+
"SELECT account_id, first_name, last_name FROM accounts WHERE account_id=ANY($1::UUID[]) AND (deleted IS NULL OR deleted = false)",
5353
[account_ids],
5454
);
5555
return rowsToNames(rows);

0 commit comments

Comments
 (0)