diff --git a/src/modules/Forums/ForumsService.ts b/src/modules/Forums/ForumsService.ts index 8a79bb8..dd0726a 100644 --- a/src/modules/Forums/ForumsService.ts +++ b/src/modules/Forums/ForumsService.ts @@ -189,7 +189,7 @@ export async function viewQuestion( 'forums.title', 'forums.question', 'forums.imagesrc', - sql`CAST(forums.createdat AS TEXT)`.as('createat'), + sql`CAST(forums.createdat AS TEXT)`.as('createdat'), sql`CAST(forums.updatedat AS TEXT)`.as('updatedat'), 'forums.views', fn.count('forums_answers.id').as('answer_count'),