SpaceAPI: projects

This commit is contained in:
He4eT 2025-04-03 22:38:57 +02:00
commit 80793d0d76

View file

@ -197,6 +197,13 @@ export default ({ strapi }: { strapi: Core.Strapi }) => ({
/* */ /* */
if (!isEmpty(hackspace.projects)) {
result.projects = hackspace.projects
.map(({url}) => url);
}
/* */
return ctx.send(result); return ctx.send(result);
}, },
}); });