Skip to content

dog event post does not type --related_event_id properly #785

@gchpaco

Description

@gchpaco

Describe the bug
I expect dog event post to work when given a related event ID; for example

dog event post --related_event_id 4 foo bar

should work. What it actually does is return

ERROR: Invalid JSON structure

To Reproduce
Steps to reproduce the behavior:

  1. Post an event, and extract the event ID.
  2. Post a second event and pass the first event ID as a related event
  3. See error

Expected behavior
I would expect it to work and for the backend API to tie the two together.

Environment and Versions (please complete the following information):

  • dog 0.46.0
  • Python 3.11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugBug related issuestaleStale - Bot reminder

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions