Injecting fetchScenesById.

This commit is contained in:
2026-03-23 21:53:28 +01:00
parent 11c31c4c56
commit 4c5ab2411e

View File

@@ -6,7 +6,12 @@ const keyMap = {
productionState: 'production_state',
};
export default function initSceneRevisions({ knex, mj, logger }) {
export default function initSceneRevisions({
knex,
mj,
fetchScenesById,
logger,
}) {
async function applySceneValueDelta(sceneId, delta, trx) {
return knex('releases')
.where('id', sceneId)