Hi I’m using beforeCreate lifecycle and i need to find a value of a Single Collection from another “Normal Collection”.
I don’t understand and I don’t find how to call this type of collection for obtain a field.
I try this:
const vi = await strapi.api.settings.services.settings.find();
vi.initial_value
const vi = await strapi.api.settings.services.settings.find(‘initial_value’);
const vi = await await strapi.api.settings.services.settings.initial_value;
Without any success.
Someone can explain me how to optain this value
Thanks.