Compare commits

...

2 Commits

3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{
"name": "traxxx-web",
"version": "0.17.3",
"version": "0.17.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.17.3",
"version": "0.17.4",
"dependencies": {
"@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5",

View File

@ -72,5 +72,5 @@
"postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2"
},
"version": "0.17.3"
"version": "0.17.4"
}

View File

@ -166,7 +166,7 @@ export async function fetchScenesById(sceneIds, { reqUser, ...context } = {}) {
});
const actorStashes = reqUser && context.actorStashes
? await knex('stashes_actors')
? await knexOwner('stashes_actors')
.leftJoin('stashes', 'stashes.id', 'stashes_actors.stash_id')
.where('stashes.user_id', reqUser.id)
.whereIn('stashes_actors.actor_id', actors.map((actor) => actor.id))