Added tag actor editing.
This commit is contained in:
@@ -785,9 +785,10 @@ async function applySceneTagsDelta(sceneId, delta, trx) {
|
||||
|
||||
if (delta.value.length > 0) {
|
||||
await knexOwner('releases_tags')
|
||||
.insert(delta.value.map((tagId) => ({
|
||||
.insert(delta.value.map((tag) => ({
|
||||
release_id: sceneId,
|
||||
tag_id: tagId,
|
||||
tag_id: tag.id,
|
||||
actor_id: tag.actorId,
|
||||
source: 'editor',
|
||||
})))
|
||||
.transacting(trx);
|
||||
|
||||
Reference in New Issue
Block a user