diff --git a/adminSiteServer/apiRouter.ts b/adminSiteServer/apiRouter.ts index d071f8f13b9..3d650da8dda 100644 --- a/adminSiteServer/apiRouter.ts +++ b/adminSiteServer/apiRouter.ts @@ -464,7 +464,7 @@ const updateExistingChart = async ( knex, `-- sql select full, fullMd5 from chart_configs where id = ?`, - [chartConfigId] + [chartConfigId.configId] ) await saveGrapherConfigToR2ByUUID( diff --git a/packages/@ourworldindata/utils/src/Util.ts b/packages/@ourworldindata/utils/src/Util.ts index 5f12cf00078..701303118bc 100644 --- a/packages/@ourworldindata/utils/src/Util.ts +++ b/packages/@ourworldindata/utils/src/Util.ts @@ -174,7 +174,6 @@ import { TagGraphRoot, TagGraphRootName, TagGraphNode, - Nominal, GrapherInterface, ChartTypeName, DimensionProperty,