Skip to content

Commit

Permalink
fix: createdat naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielzxccc committed Dec 19, 2023
1 parent 022e301 commit a6bf21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/Forums/ForumsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export async function viewQuestion(
'forums.title',
'forums.question',
'forums.imagesrc',
sql<string>`CAST(forums.createdat AS TEXT)`.as('createat'),
sql<string>`CAST(forums.createdat AS TEXT)`.as('createdat'),
sql<string>`CAST(forums.updatedat AS TEXT)`.as('updatedat'),
'forums.views',
fn.count<number>('forums_answers.id').as('answer_count'),
Expand Down

0 comments on commit a6bf21d

Please sign in to comment.