File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
13
13
FeatureFlagFeature ,
14
14
} from "../../settings/clientSettings.js"
15
15
import {
16
- createMultiDimConfig ,
16
+ upsertMultiDimConfig ,
17
17
setMultiDimPublished ,
18
18
setMultiDimSlug ,
19
19
} from "../multiDim.js"
@@ -69,7 +69,7 @@ export async function handlePutMultiDim(
69
69
await validateNewGrapherSlug ( trx , slug )
70
70
}
71
71
const rawConfig = req . body as MultiDimDataPageConfigRaw
72
- const id = await createMultiDimConfig ( trx , slug , rawConfig )
72
+ const id = await upsertMultiDimConfig ( trx , slug , rawConfig )
73
73
74
74
if (
75
75
FEATURE_FLAGS . has ( FeatureFlagFeature . MultiDimDataPage ) &&
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ async function cleanUpOrphanedChartConfigs(
231
231
}
232
232
}
233
233
234
- export async function createMultiDimConfig (
234
+ export async function upsertMultiDimConfig (
235
235
knex : db . KnexReadWriteTransaction ,
236
236
slug : string ,
237
237
rawConfig : MultiDimDataPageConfigRaw
You can’t perform that action at this time.
0 commit comments