Skip to content

Commit

Permalink
Fix serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard committed Mar 11, 2024
1 parent bfaba52 commit 8f577c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_tokens(self, authorization_code: str) -> TokensResponse:
code=authorization_code,
redirect_uri=self.redirect_uri,
)
data: str = request.model_dump_json()
data: dict = request.model_dump()

response = requests.post(self.token_uri, data=data)

Expand Down

0 comments on commit 8f577c2

Please sign in to comment.