[Custom Issue]: /upload/image
is Returning Raw JSON Data if Listing is Not Found
#46
Closed
2 tasks done
Labels
📝 Issue Description
When making a request to the
/upload/image
endpoint, if the requested listing is not found, the API currently responds with raw JSON data. This behavior is inconsistent with the expected output, which should follow the defined model format.🎯 Expected Outcome
The API should return the response in its defined model format, even if the listing is not found.
Proposed Solution
/upload/image
to ensure that the response adheres to the defined model format.📋 Additional Context
No response
📜 Confirmation
The text was updated successfully, but these errors were encountered: