diff --git a/src/gen-config.cr b/src/gen-config.cr index 3168153..b1fcbe2 100644 --- a/src/gen-config.cr +++ b/src/gen-config.cr @@ -24,7 +24,7 @@ class Service get_consumers(token).map &.id end - entry["providers"] = Crinja.function do + entry["provider"] = Crinja.function do token = arguments.varargs[0].to_s providers.find(&.[0].==(token)).try &.[1]