Skip to content

Commit

Permalink
Merge pull request #9 from navodissa/master
Browse files Browse the repository at this point in the history
Issue fix
  • Loading branch information
SaidBySolo committed Mar 29, 2021
2 parents 6ed8251 + a9354a0 commit 767c86b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spacexpy/spacex.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def ships(self, ship_id: str = None, query=None):
return AttributeDict(await self.request_ships(ship_id, query))

async def starlink(self, starlink_id: str = None, query=None):
return AttributeDict(await self.request_ships(starlink_id, query))
return AttributeDict(await self.request_starlink(starlink_id, query))


class SpaceX(_SpaceX):
Expand All @@ -69,4 +69,4 @@ def __getattribute__(self, name: str) -> Any:
if asyncio.iscoroutinefunction(attribute):
return functools.partial(self.__run_coroutine, attribute)

return attribute
return attribute

0 comments on commit 767c86b

Please sign in to comment.