forked from DebaucheryLibrarian/traxxx
Added tag filter to releases query, enabled on homepage.
This commit is contained in:
@@ -6,7 +6,10 @@ async function fetchActorsApi(req, res) {
|
||||
const actorId = typeof req.params.actorId === 'number' ? req.params.actorId : null;
|
||||
const actorSlug = typeof req.params.actorId === 'string' ? req.params.actorId : null;
|
||||
|
||||
const actors = await fetchActors(actorId, actorSlug);
|
||||
const actors = await fetchActors({
|
||||
id: actorId,
|
||||
slug: actorSlug,
|
||||
});
|
||||
|
||||
res.send(actors);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user