From fb41c71ee9281b525b2306f5f2e9ffef7a397d64 Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 7 Aug 2023 12:59:08 +0000 Subject: [PATCH] Fixed emoticon ordering in chat. --- src/SharpChat/SharpChatRoutes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SharpChat/SharpChatRoutes.php b/src/SharpChat/SharpChatRoutes.php index 90e2060..c683ffb 100644 --- a/src/SharpChat/SharpChatRoutes.php +++ b/src/SharpChat/SharpChatRoutes.php @@ -81,7 +81,7 @@ final class SharpChatRoutes { $response->setHeader('Access-Control-Allow-Origin', '*'); $response->setHeader('Access-Control-Allow-Methods', 'GET'); - $emotes = $this->emotes->getEmotes(); + $emotes = $this->emotes->getEmotes(orderBy: 'order'); $out = []; foreach($emotes as $emoteInfo) {