You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create query
const elementRecipe = await Recipe.find(query.filter).sort(query.sort);
// Set languages on values
if (lang) {
// return all elements only the lang requested
elementRecipe.map(values => {
values.setLanguage(lang);
});
}
Hey @alexsk, thanks for this plugin.
I have a problem with setDefaultLanguage for multiuser, your example dont work and setDefault for all models and not only this request by user.
the last language set to be for everyone is the latest sent in lang
The text was updated successfully, but these errors were encountered: