Skip to content

Commit

Permalink
prettier: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sluukkonen authored and renovate[bot] committed Jul 18, 2024
1 parent 7e23e14 commit ce6e1a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export async function queryMaybeOne<T = unknown>(
return length === 0
? undefined
: fields.length !== 1
? rowParser(rows[0])
: rowParser(rows[0][fields[0].name])
? rowParser(rows[0])
: rowParser(rows[0][fields[0].name])
}

/**
Expand Down

0 comments on commit ce6e1a4

Please sign in to comment.