Skip to content

Commit

Permalink
Merge pull request #163 from TogetherCrew/fix/gdrive-integration
Browse files Browse the repository at this point in the history
fix: getting latest token for google refresh!
  • Loading branch information
cyri113 authored May 27, 2024
2 parents 52e20c8 + 9df75cd commit 686a4db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_token(self, platform_id: ObjectId, token_type: str) -> str:
{
"token": 1,
},
sort=[("createdAt", 1)],
sort=[("createdAt", -1)],
)
if token_doc is None:
raise ValueError(
Expand Down

0 comments on commit 686a4db

Please sign in to comment.