Closed K-Kumar-01 closed 2 years ago
Thanks for the bug report - looks great. Would you like to submit a PR to fix the docs?
Thanks for the bug report - looks great. Would you like to submit a PR to fix the docs?
Yes I would love to work. I will submit a PR by tomorrow for the same.
Bug Report 🐛
Currently, the request for
draft
andtrigger
mentioned in the documentation forcicero-server
is failing.Screenshots
Expected Behavior
The requests should pass without any error and result in a successful execution with status code 200.
Current Behavior
The error displayed in the above image is shown. Cross-checking with cicero-cli on same data gave the same error. The data passed in the documentation seems to be incorrect.
Possible Solution
Update the documentation to use proper data. Sample data for proper
draft
request.Steps to Reproduce
Context (Environment)
Desktop
Detailed Description
Data Passed:
Proposed Data:
Here, on seeing we find that
buyer
andseller
both are passed as objects in the former request and strings in the latter one. This is what is creating this issue.Possible Implementation
Updating the documenation should work.
Would you like to work on the issue?
Yes