Skip to content

Commit 853a54a

Browse files
committed
fix(api): change sorting order of viewer count to ascending in streamer suggestion endpoint
1 parent c512ba7 commit 853a54a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/backend/src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const api = new Hono<ApiContext>()
7979
where: and(...conditions),
8080
orderBy: [
8181
desc(streamer.isLive),
82-
desc(streamer.viewerCount),
82+
asc(streamer.viewerCount),
8383
asc(streamer.name),
8484
],
8585
});

0 commit comments

Comments
 (0)