From 34b6581aed01b7ad80ddc304a81207c1809df3d9 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 2 May 2024 12:15:23 +0100 Subject: [PATCH] Lint --- packages/server/src/sdk/app/rows/search/utils.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/server/src/sdk/app/rows/search/utils.ts b/packages/server/src/sdk/app/rows/search/utils.ts index 44b229539a..63b5616eff 100644 --- a/packages/server/src/sdk/app/rows/search/utils.ts +++ b/packages/server/src/sdk/app/rows/search/utils.ts @@ -86,17 +86,18 @@ export function searchInputMapping(table: Table, options: RowSearchParams) { } for (let [key, column] of Object.entries(table.schema)) { switch (column.type) { - case FieldType.BB_REFERENCE_SINGLE: + case FieldType.BB_REFERENCE_SINGLE: { const subtype = column.subtype switch (subtype) { - case BBReferenceFieldSubType.USER: { + case BBReferenceFieldSubType.USER: userColumnMapping(key, options) break - } + default: utils.unreachable(subtype) } break + } case FieldType.BB_REFERENCE: { const subtype = column.subtype switch (subtype) {