From 44e34535af570b86a3726ef7b12350335e9fb9b7 Mon Sep 17 00:00:00 2001 From: ozdentarikcan Date: Mon, 16 Dec 2024 13:53:12 +0300 Subject: [PATCH] Fix sortBy --- frontend/src/services/api/programmingForumComponents.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/services/api/programmingForumComponents.ts b/frontend/src/services/api/programmingForumComponents.ts index 490f4b4..16a6d8b 100644 --- a/frontend/src/services/api/programmingForumComponents.ts +++ b/frontend/src/services/api/programmingForumComponents.ts @@ -1983,15 +1983,13 @@ export type SearchQuestionsQueryParams = { * * @default "recommended" */ - sortBy: string; + sortBy?: string; /** * Current user Id * * @default -1 */ currentUserId?: number; - - }; export type SearchQuestionsError = Fetcher.ErrorWrapper<{