Skip to content

Commit

Permalink
fix: coroutine error
Browse files Browse the repository at this point in the history
  • Loading branch information
TauannyFurlanetto committed Sep 8, 2023
1 parent 4f37ca1 commit d1e2c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barterdude/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def add_callback_endpoint(
mock_dependencies: Iterable[Tuple[Any, str]] = None,
):
async def hook_to_callback(req:web.Request):
return self._call_callback_endpoint(req, hook, mock_dependencies)
return await self._call_callback_endpoint(req, hook, mock_dependencies)

self.add_endpoint(
routes=routes,
Expand Down

0 comments on commit d1e2c5e

Please sign in to comment.