Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

Commit

Permalink
chore: replaced tos time in second registration to be more correct
Browse files Browse the repository at this point in the history
  • Loading branch information
totoroterror committed Dec 7, 2023
1 parent b4366ad commit f3db5a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async def clone_key(key: str, proxy_url: Optional[str], device_model: Optional[s
'key': WireGuard.pubkey(privkey=WireGuard.genkey()),
'locale': 'en_US',
'model': 'PC',
'tos': datetime.datetime.now().strftime("%Y-%m-%dT%H:%M:%S.%f+00:00"),
'tos': datetime.datetime.now(tz=datetime.timezone.utc).isoformat(),
'type': 'Android',
'referrer': register_data['id'],
}
Expand Down

0 comments on commit f3db5a2

Please sign in to comment.