Closed neubi4 closed 1 year ago
Image Upload is currenty broken because nio client.upload() returns a tuple instead of only the reponse. Docs: https://matrix-nio.readthedocs.io/en/latest/nio.html#nio.AsyncClient.upload
This PR fixes this.
@neubi4 Ahh, dang, that's a good catch! Ty for making this! Though it looks like the tests need to be updated as well; think you can take that on?
@PaarthShah mock is updated, tests should pass now.
Image Upload is currenty broken because nio client.upload() returns a tuple instead of only the reponse. Docs: https://matrix-nio.readthedocs.io/en/latest/nio.html#nio.AsyncClient.upload
This PR fixes this.