hotFix(getUrl): fix prop name environment

This commit is contained in:
Alex Moreno 2024-02-20 09:04:50 +01:00
parent acc9d05530
commit 4952e0be20
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module.exports = Self => {
const {url} = await Self.app.models.Url.findOne({ const {url} = await Self.app.models.Url.findOne({
where: { where: {
appName, appName,
enviroment: process.env.NODE_ENV || 'development' environment: process.env.NODE_ENV || 'development'
} }
}); });
return url; return url;