From a771658d173f5974de62d893c3bfdb8f229ca581 Mon Sep 17 00:00:00 2001 From: Stache Noisy <66780609+stachenoisy@users.noreply.github.com> Date: Wed, 2 Sep 2026 19:48:36 +0300 Subject: [PATCH] Rename clientId and userId to client_id and user_id ref: https://clerk.com/docs/reference/backend-api/2026-05-12/tag/sessions/GET/sessions --- packages/backend/src/api/endpoints/SessionApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/api/endpoints/SessionApi.ts b/packages/backend/src/api/endpoints/SessionApi.ts index cc46fcef3b1..0a6ae7dfc8d 100644 --- a/packages/backend/src/api/endpoints/SessionApi.ts +++ b/packages/backend/src/api/endpoints/SessionApi.ts @@ -12,9 +12,9 @@ const basePath = '/sessions'; /** @generateWithEmptyComment */ export type SessionListParams = ClerkPaginationRequest<{ /** The ID of the client to get sessions for. */ - clientId?: string; + client_id?: string; /** The ID of the user to get sessions for. */ - userId?: string; + user_id?: string; /** The status of the sessions to get. */ status?: SessionStatus; }>;