From 7fe2699fe49e33c593e345976f7500b3e446fd5e Mon Sep 17 00:00:00 2001 From: Daniel Bachler Date: Tue, 10 Sep 2024 09:56:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20unify=20r2=20config=20dirs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adminSiteServer/chartConfigR2Helpers.ts | 2 +- .../grapher/src/scatterCharts/ScatterPlotChart.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/adminSiteServer/chartConfigR2Helpers.ts b/adminSiteServer/chartConfigR2Helpers.ts index ca32f8fc214..be6277b1f22 100644 --- a/adminSiteServer/chartConfigR2Helpers.ts +++ b/adminSiteServer/chartConfigR2Helpers.ts @@ -19,7 +19,7 @@ import { Base64String } from "../serverUtils/serverUtil.js" export enum R2GrapherConfigDirectory { byUUID = "config/by-uuid", - publishedGrapherBySlug = "grapher/by-slug", + publishedGrapherBySlug = "config/by-slug-published", } const getS3Client: () => S3Client = lazy( diff --git a/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx b/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx index 772024a2939..7830ca885ff 100644 --- a/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx +++ b/packages/@ourworldindata/grapher/src/scatterCharts/ScatterPlotChart.tsx @@ -34,7 +34,6 @@ import { exposeInstanceOnWindow, groupBy, sampleFrom, - intersectionOfSets, min, max, PointVector,