Skip to content
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.

Commit

Permalink
remove unused vars from request data
Browse files Browse the repository at this point in the history
  • Loading branch information
amitnabarro committed Jan 2, 2019
1 parent faadfcb commit c3fd205
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tbone/resources/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ async def dispatch(self, *args, **kwargs):
# deserialize request data
body = await self.request_body()
self.data = self.parse(method, self.endpoint, body)
if method != 'GET':
self.data.update(kwargs)
# if method != 'GET':
# self.data.update(kwargs)
kwargs.update(self.request_args())
view_method = getattr(self, self.methods[self.endpoint][method])
# call request method
Expand Down

0 comments on commit c3fd205

Please sign in to comment.