From a361ee7286e32948487b46a9c16e0ee6b82c367d Mon Sep 17 00:00:00 2001 From: Ali Momen Sani Date: Thu, 23 May 2024 12:14:42 +0200 Subject: [PATCH] fix: wrong sort field names (#1308) --- src/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.ts b/src/types.ts index 4bfe05860..ea2c4aa2e 100644 --- a/src/types.ts +++ b/src/types.ts @@ -3111,8 +3111,8 @@ export type QueryMessageHistoryFilters = QueryFilters< export type QueryMessageHistorySort = QueryMessageHistorySortBase | Array; export type QueryMessageHistorySortBase = { - created_at?: AscDesc; - user_id?: AscDesc; + message_updated_at?: AscDesc; + message_updated_by_id?: AscDesc; }; export type QueryMessageHistoryOptions = Pager;