hotFix(getUrl): fix prop name environment
This commit is contained in:
parent
acc9d05530
commit
4952e0be20
|
@ -22,7 +22,7 @@ module.exports = Self => {
|
|||
const {url} = await Self.app.models.Url.findOne({
|
||||
where: {
|
||||
appName,
|
||||
enviroment: process.env.NODE_ENV || 'development'
|
||||
environment: process.env.NODE_ENV || 'development'
|
||||
}
|
||||
});
|
||||
return url;
|
||||
|
|
Loading…
Reference in New Issue