Fixed request user not passed in scenes API, causing faded stashes after filtering.
This commit is contained in:
parent
687964cb26
commit
1533353ea4
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue