mirror of
https://github.com/strapi/strapi.git
synced 2025-07-23 00:51:17 +00:00

`map` should create a new Array so a `return` is expected inside the callback param. `forEach` is the corrent method to use for just iterate over array elements.