Fix out of range timestamps
This commit is contained in:
parent
490b5e0bd4
commit
3ab95e5d65
1 changed files with 2 additions and 0 deletions
|
@ -204,6 +204,8 @@ def preview_url(
|
|||
description="Access token to use for the request."
|
||||
),
|
||||
):
|
||||
if ts:
|
||||
ts = round(ts / 1000)
|
||||
if access_token_qs is not None:
|
||||
access_token = access_token_qs
|
||||
elif access_token_header and access_token_header.startswith("Bearer "):
|
||||
|
|
Loading…
Reference in a new issue