visualize return value

This commit is contained in:
Alessio Davoli 2023-12-22 12:02:00 +01:00
parent 4fb60c5892
commit b1d2481e66

View file

@ -11,8 +11,10 @@ export async function load({ params }) {
error(404); error(404);
} }
return { const toReturn = {
category: category.name_it, category: category.name_it,
routes: await getRouteByCategory(categoryId), routes: await getRouteByCategory(categoryId),
} }
return toReturn;
} }