The API was supposed to get the config.Config.BotAPIURL field value from the APP_BOT_API_URL environment variable. However due to: 1) 2 capital words "API" and "URL" next to each other and 2) the logic used to retrieve config values from env vars: the app was looking for config in the APP_BOT_APIURL env var.
This PR manually overrides the name of the env var which the BotAPIURL field looks in to be the correct one.
The API was supposed to get the
config.Config.BotAPIURL
field value from theAPP_BOT_API_URL
environment variable. However due to: 1) 2 capital words "API" and "URL" next to each other and 2) the logic used to retrieve config values from env vars: the app was looking for config in theAPP_BOT_APIURL
env var.This PR manually overrides the name of the env var which the
BotAPIURL
field looks in to be the correct one.