Commit e6457038 authored by henrik.prangel's avatar henrik.prangel
Browse files

JUT-59 Fix wrong RIA url for intents.reducer

parent 39fae3ac
......@@ -138,7 +138,7 @@ const getBotUrlByUserAuthorities = (userAuthorities, specifier) => {
return `${botUrls.PPA_BOT_DOMAIN}/files/${specifier}/${INSTITUTION_NAMES.PPA}`
}
if (userAuthorities.includes(AUTHORITIES.RIA_USER)) {
return `${process.env.RIA_BOT_DOMAIN}/files/${specifier}/${INSTITUTION_NAMES.RIA}`
return `${botUrls.RIA_BOT_DOMAIN}/files/${specifier}/${INSTITUTION_NAMES.RIA}`
}
return null
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment