Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@letsintegreat
Copy link
Contributor

Required for https://github.com/OWASP/BLT-Flutter/issues/290

/api/v1/issues has no logic to allow POST requests to have multiple screenshots. Therefore, only one screenshot could be linked with an issue via /api/v1/issues

I have updated the logic by creating an instance of IssueScreenshot for every screenshot sent to /api/v1/issues to fix the above mentioned behavior.

PS. merging this PR will break the reporting issue feature in the app, because now image files are to have screenshots field rather than screenshot. However, I am ready with the updated code for the app, as soon as this PR is merged, I'll raise one in BLT-Flutter

@fredfalcon
Copy link

Nice one. Thank you

@letsintegreat letsintegreat deleted the multiple-screenshots branch April 7, 2023 05:21
DonnieBLT pushed a commit that referenced this pull request Aug 12, 2023
* Allow /api/v1/issues to have multiple screenshots

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants