Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo error on api.py line 658 #173

Closed
CanTopay opened this issue Jul 6, 2020 · 0 comments
Closed

typo error on api.py line 658 #173

CanTopay opened this issue Jul 6, 2020 · 0 comments
Milestone

Comments

@CanTopay
Copy link

CanTopay commented Jul 6, 2020

Request Type

Bug

Work Environment

Version 1.7.2(latest)

Problem Description

There is a typo in the new custom field constructor function at api.py, line 658.
Custom field attribute should be mandatory instead of madatory.

    data = {
        "value": {
            "name": custom_field.name,
            "reference": custom_field.reference,
            "description": custom_field.description,
            "type": custom_field.type,
            "options": custom_field.options,
            **"mandatory": custom_field.madatory**
            }
        }

Steps to Reproduce

Complementary information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants