Commit bcf6aa92 authored by Thong Kuah's avatar Thong Kuah

Fix last keyword warnings in application code

parent 1be02c83
......@@ -21,7 +21,7 @@ module Types
graphql_name(enum_mod.name) if use_name
description(enum_mod.description) if use_description
enum_mod.definition.each { |key, content| value(key.to_s.upcase, content) }
enum_mod.definition.each { |key, content| value(key.to_s.upcase, **content) }
end
def value(*args, **kwargs, &block)
......
......@@ -8,8 +8,8 @@ module EE
attr_accessor :total_geo_registries
def initialize(...)
super(...)
def initialize(**kwargs)
super
@total_geo_registries = 0
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment