From 8f577c23e578b7ac434d949795718a0d6808a4ba Mon Sep 17 00:00:00 2001 From: seallard Date: Mon, 11 Mar 2024 09:19:03 +0100 Subject: [PATCH] Fix serialization --- .../clients/authentication_client/google_oauth_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trailblazer/clients/authentication_client/google_oauth_client.py b/trailblazer/clients/authentication_client/google_oauth_client.py index e721b1cf..38304ad8 100644 --- a/trailblazer/clients/authentication_client/google_oauth_client.py +++ b/trailblazer/clients/authentication_client/google_oauth_client.py @@ -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)