Fixed request user not passed in scenes API, causing faded stashes after filtering.

This commit is contained in:
DebaucheryLibrarian 2024-03-21 03:54:48 +01:00
parent 687964cb26
commit 1533353ea4
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export async function fetchScenesApi(req, res) {
} = await fetchScenes(await curateScenesQuery(req.query), { } = await fetchScenes(await curateScenesQuery(req.query), {
page: Number(req.query.page) || 1, page: Number(req.query.page) || 1,
limit: Number(req.query.limit) || 30, limit: Number(req.query.limit) || 30,
}); }, req.user);
res.send(stringify({ res.send(stringify({
scenes, scenes,