Name local database write permission explicitly

This commit is contained in:
2026-08-05 19:07:37 +02:00
parent 2f3444adb8
commit f08699fad3
5 changed files with 13 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import {
export async function loadManufacturerCatalogState(config, { manufacturerId, position = 1 }) {
const refreshResults = [];
if (config.database?.mode === "local" && config.database.allowWrites) {
if (config.database?.mode === "local" && config.database.allowLocalWrites) {
for (const sql of prepareManufacturerCatalogSqls({ manufacturerId })) {
refreshResults.push(
await executeEndpointWrite(config, sql, {