From 2ace61ee770af0c5cb36b00ef02b1ab17c3f1170 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Thu, 22 Jun 2023 09:34:31 +0530 Subject: [PATCH] test: error message correction Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- packages/nocodb/src/services/data-table.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nocodb/src/services/data-table.service.ts b/packages/nocodb/src/services/data-table.service.ts index 2144e26d72..75ca740039 100644 --- a/packages/nocodb/src/services/data-table.service.ts +++ b/packages/nocodb/src/services/data-table.service.ts @@ -326,7 +326,8 @@ export class DataTableService { private async getColumn(param: { modelId: string; columnId: string }) { const column = await Column.get({ colId: param.columnId }); - if (!column) NcError.notFound(`Column '${param.columnId}' not found`); + if (!column) + NcError.notFound(`Column with id '${param.columnId}' not found`); if (column.fk_model_id !== param.modelId) NcError.badRequest('Column not belong to model');