diff --git a/packages/server/src/sdk/app/views/index.ts b/packages/server/src/sdk/app/views/index.ts index ad3399d54b..7fc78b9085 100644 --- a/packages/server/src/sdk/app/views/index.ts +++ b/packages/server/src/sdk/app/views/index.ts @@ -324,7 +324,9 @@ export async function update( return pickApi(tableId).update(tableId, view) } -export const isV2 = helpers.views.isV2 +export function isV2(view: View | ViewV2) { + return helpers.views.isV2(view) +} export async function remove(viewId: string): Promise { const { tableId } = utils.extractViewInfoFromID(viewId)