From 4a3be37313ea08b06e1fad9cdefdf9b6b3ae88e4 Mon Sep 17 00:00:00 2001 From: Abhinav Kumar Date: Tue, 10 Dec 2024 18:19:28 +0530 Subject: [PATCH] minor fix Signed-off-by: Abhinav Kumar --- apps/meteor/app/api/server/v1/groups.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/app/api/server/v1/groups.ts b/apps/meteor/app/api/server/v1/groups.ts index f67072fd0d2c..91f66f677e52 100644 --- a/apps/meteor/app/api/server/v1/groups.ts +++ b/apps/meteor/app/api/server/v1/groups.ts @@ -762,7 +762,7 @@ API.v1.addRoute( const { offset: skip, count: limit } = await getPaginationItems(this.queryParams); const { sort = {} } = await this.parseJsonQuery(); - const { status, filter, rolesOrder } = this.queryParams; + const { status, filter, rolesOrder = ['leader', 'owner'] } = this.queryParams; const { members, total } = await findUsersOfRoomOrderedByRole({ rid: findResult.rid,