From e9d47faa1de0dbe1642c8e987b1640b2a86097f1 Mon Sep 17 00:00:00 2001 From: Adrien Date: Fri, 17 May 2024 11:32:08 +0200 Subject: [PATCH] fix --- database.go | 2 +- views/partials/message-bot.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/database.go b/database.go index 60ceeee..928bc6c 100644 --- a/database.go +++ b/database.go @@ -192,7 +192,7 @@ func insertArea() (edgedb.UUID, int64) { position } FILTER .conversation.name = 'Default' AND .conversation.user = global currentUser - ORDER BY .position + ORDER BY .position desc LIMIT 1 `, &positionSet) if err != nil { diff --git a/views/partials/message-bot.html b/views/partials/message-bot.html index e5b3912..7efd4ce 100644 --- a/views/partials/message-bot.html +++ b/views/partials/message-bot.html @@ -97,5 +97,4 @@ {% endif %} - \ No newline at end of file