feat: ship creator journey v2 and profile updates
This commit is contained in:
@@ -178,7 +178,7 @@ final class UserStatsService
|
||||
->whereNull('a.deleted_at')
|
||||
->sum('s.views'),
|
||||
|
||||
'awards_received_count' => (int) DB::table('artwork_awards as aw')
|
||||
'awards_received_count' => (int) DB::table('artwork_medals as aw')
|
||||
->join('artworks as a', 'a.id', '=', 'aw.artwork_id')
|
||||
->where('a.user_id', $userId)
|
||||
->whereNull('a.deleted_at')
|
||||
|
||||
Reference in New Issue
Block a user