Skip to content

Commit

Permalink
Update normalization.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertoPrevato committed Jan 12, 2024
1 parent 32e250a commit bcee636
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions blacksheep/server/normalization.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,7 @@ async def handler(_): # type: ignore

@wraps(method)
async def handler(request):
values = []
for binder in binders:
values.append(await binder.get_parameter(request))
values = [await binder.get_parameter(request) for binder in binders]
return await method(*values)

return handler
Expand Down

0 comments on commit bcee636

Please sign in to comment.