SecKatie / wyzeapy

36 stars 26 forks source link

bugfix(wyze_auth_lib): return blank dict for ContentTypeErrors #29

Closed JoeSchubert closed 2 years ago

JoeSchubert commented 2 years ago

currently, we're not returning anything in the event that we receive a ContentTypeError from aiohttp. This breaks things downstream as they never get a return value from these functions. For now, lets just go ahead and return a blank dictionary so that things don't explode downstream.