Closed DannyZolp closed 9 months ago
Thank you so much for the PR @DannyZolp. However this PR seems to change many unrelated things, mostly related to code style (e.g. quotation, spacing, indenting, line wrapping etc.). This makes it extremely difficult for me to determine the scope of the actual functional changes.
Are you able to modify this PR or create another one that only contains functional changes? I understand you may have a desired code style or want consistency but I think that would best be handled in a different PR.
No worries! It's what I get for leaving my automatic linter on 🤦
Fixes https://github.com/potmat/homebridge-google-nest-sdm/issues/97
The issue had to deal with Axios trying to process the ArrayBuffer as a JSON string, which causes the 500 error to be thrown (like in issue #97). This was fixed by requesting the image as a base64 string and then processing it on the client.