Skip to content

Wrong type for case_template_id in /manage/cases/add #35

Description

@b401

Hey there,
I'm currently writing a go library for iris and found that the documentation regarding the case_template_id for the /manage/cases/add endpoint expects a string and not an int.

Code in app/business/cases.py

An int has no len() method and throws on these calls resulting in a 400 error.

84        if case_template_id and len(case_template_id) > 0:
...
93        if case_template_id and len(case_template_id) > 0:

This seems more like something that needs to be changed in the code instead of the documentation but I have not dug deeper into the issue.

Documentation reference:

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions