Use options correctly

This commit is contained in:
Grant McConnaughey 2017-07-18 10:31:17 -05:00
parent f034946cda
commit 26a4d315c5

View File

@ -46,7 +46,7 @@ class FormMutationMeta(MutationMeta):
cls.Input = convert_form_to_input_type(options.form_class)
field_kwargs = {cls.options.input_field_name: Argument(cls.Input, required=True)}
field_kwargs = {options.input_field_name: Argument(cls.Input, required=True)}
cls.Field = partial(
Field,
cls,
@ -127,7 +127,7 @@ class ModelFormMutationMeta(MutationMeta):
cls.Input = convert_form_to_input_type(options.form_class)
field_kwargs = {cls.options.input_field_name: Argument(cls.Input, required=True)}
field_kwargs = {options.input_field_name: Argument(cls.Input, required=True)}
cls.Field = partial(
Field,
cls,