Skip to content

Commit

Permalink
sets correct index for input args to cached func
Browse files Browse the repository at this point in the history
  • Loading branch information
xenatisch committed Oct 23, 2021
1 parent d1938c4 commit 6664c26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/caching/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ async def _execute(self, *args, **kwargs):
db_res = await self.func(
request,
*bound_inputs.args,
area_id=area_id,
area_type=area_type,
area_id=area_id[index],
area_type=area_type[index],
**bound_inputs.kwargs
)

Expand Down

0 comments on commit 6664c26

Please sign in to comment.