Use default value for METABASE_API_KEY
We probably want to remove this controller entirely, but this is ok for dev environments for now
This commit is contained in:
parent
a028e26c98
commit
cd6774e354
@ -18,7 +18,7 @@ import java.util.*
|
|||||||
@Service
|
@Service
|
||||||
class MetabaseService : InitializingBean {
|
class MetabaseService : InitializingBean {
|
||||||
|
|
||||||
@Value("\${METABASE_API_KEY}")
|
@Value("\${METABASE_API_KEY:nil}")
|
||||||
private lateinit var metabaseApiKey: String
|
private lateinit var metabaseApiKey: String
|
||||||
|
|
||||||
@Value("\${METABASE_URL:https://neko.nise.moe}")
|
@Value("\${METABASE_URL:https://neko.nise.moe}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user