Injecting fetchScenesById.
This commit is contained in:
@@ -6,7 +6,12 @@ const keyMap = {
|
|||||||
productionState: 'production_state',
|
productionState: 'production_state',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function initSceneRevisions({ knex, mj, logger }) {
|
export default function initSceneRevisions({
|
||||||
|
knex,
|
||||||
|
mj,
|
||||||
|
fetchScenesById,
|
||||||
|
logger,
|
||||||
|
}) {
|
||||||
async function applySceneValueDelta(sceneId, delta, trx) {
|
async function applySceneValueDelta(sceneId, delta, trx) {
|
||||||
return knex('releases')
|
return knex('releases')
|
||||||
.where('id', sceneId)
|
.where('id', sceneId)
|
||||||
|
|||||||
Reference in New Issue
Block a user