Skip to content

Commit

Permalink
Fix checking async for ingres
Browse files Browse the repository at this point in the history
  • Loading branch information
smilingDima committed Sep 26, 2024
1 parent 9f5ee3e commit 8738d02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeep/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def apply_ingress(client, envelope, http_headers, operation):

async def apply_ingress_async(client, envelope, http_headers, operation):
for plugin in client.plugins:
if iscoroutinefunction(plugin.egress):
if iscoroutinefunction(plugin.ingress):
result = await plugin.ingress(envelope, http_headers, operation)
else:
result = plugin.ingress(envelope, http_headers, operation)
Expand Down

0 comments on commit 8738d02

Please sign in to comment.