Skip to content
Snippets Groups Projects
Commit b65e4cd4 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '29-add-graphql-type-for-paymant-choices' into 'master'

Resolve "Add graphql type for paymant choices"

Closes #29

See merge request !74
parents 48215232 3a263a90
No related branches found
No related tags found
1 merge request!74Resolve "Add graphql type for paymant choices"
Pipeline #196500 canceled
import graphene
class PaymentVariantChoiceType(graphene.ObjectType):
variant = graphene.String()
text = graphene.String()
def resolve_variant(root, info, **kwargs):
return root[0]
def resolve_text(root, info, **kwargs):
return root[1]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment