Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hexdecimal16 committed Aug 21, 2024
1 parent 1e0569f commit d62fdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repository/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export async function getRatingsfromTTIDs(ttids: string[]): Promise<Record<strin
throw new Error('Not connected to database')
}
try {
const query = `SELECT ttid, ratings.provder, rating FROM ratings WHERE ttid = ANY($1)`
const query = `SELECT ttid, ratings.provider, rating FROM ratings WHERE ttid = ANY($1)`
const { rows } = await client.query(query, [ttids])
return rows.reduce((acc: Record<string, Record<string, string>>, row: any) => {
if (!acc[row.ttid]) {
Expand Down

0 comments on commit d62fdfe

Please sign in to comment.