@@ -340,7 +340,7 @@ export async function articleFeed(
340340 foreignField : "id" ,
341341 localField : "author_id" ,
342342 } ,
343- columns : [ "id" , "name" , "username" , "profile_photo" ] ,
343+ columns : [ "id" , "name" , "username" , "profile_photo" , "is_verified" ] ,
344344 } as sk . Join < Article , User > ,
345345 ] ,
346346 } ) ;
@@ -385,7 +385,7 @@ export async function userArticleFeed(
385385 foreignField : "id" ,
386386 localField : "author_id" ,
387387 } ,
388- columns : [ "id" , "name" , "username" , "profile_photo" ] ,
388+ columns : [ "id" , "name" , "username" , "profile_photo" , "is_verified" ] ,
389389 } as sk . Join < Article , User > ,
390390 ] ,
391391 } ) ;
@@ -432,6 +432,7 @@ export async function articlesByTag(
432432 u.name as user_name,
433433 u.username as user_username,
434434 u.profile_photo as user_profile_photo,
435+ u.is_verified as user_is_verified,
435436 t.name as tag_name,
436437 COUNT(*) OVER() as total_count
437438 FROM articles a
@@ -469,6 +470,7 @@ export async function articlesByTag(
469470 name : row . user_name ,
470471 username : row . user_username ,
471472 profile_photo : row . user_profile_photo ,
473+ is_verified : row . user_is_verified ,
472474 } ,
473475 } ) ) ;
474476
0 commit comments