pelias-api isn't a required config option.

This commit is contained in:
John Wiseman 2020-10-12 13:29:05 -07:00
parent 6d99f5fa18
commit 0b0217976c

View File

@ -761,8 +761,7 @@
[:aircraft-info-db-path] [:aircraft-info-db-path]
[:adsbx :url] [:adsbx :url]
[:adsbx :api-key] [:adsbx :api-key]
[:pelias :url] [:pelias :url]]
[:rapid-api?]]
present (util/nested-keys config) present (util/nested-keys config)
missing1 (set/difference (set required) (set present)) missing1 (set/difference (set required) (set present))
missing2 (when (get-in config [:twitter :enabled?]) missing2 (when (get-in config [:twitter :enabled?])