SpaceAPI: linked_spaces

This commit is contained in:
He4eT 2025-04-04 00:00:34 +02:00
commit 8345021a32

View file

@ -228,6 +228,16 @@ export default ({ strapi }: { strapi: Core.Strapi }) => ({
/* */
if (!isEmpty(hackspace.linked_spaces)) {
result.linked_spaces = hackspace.linked_spaces
.map(pickFields([
'endpoint',
'website',
]));
}
/* */
return ctx.send(result);
},
});