Naming convention.

This commit is contained in:
Luka Vandervelden 2019-11-16 21:29:55 +01:00
parent 671bf44dc4
commit 1ec624db41

View File

@ -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]