Private
Public Access
1
0

process email now only 7 days

This commit is contained in:
Sander Roosendaal
2021-05-01 15:03:39 +02:00
parent c3ee36702c
commit 0fa4c78e53

View File

@@ -225,7 +225,7 @@ def get_nk_workout_list(user,fake=False,after=0,before=0):
before = arrow.now()+timedelta(days=1)
before = str(int(before.timestamp())*1000)
if not after:
after = arrow.now()-timedelta(days=30)
after = arrow.now()-timedelta(days=7)
after = str(int(after.timestamp())*1000)
authorizationstring = str('Bearer ' + r.nktoken)
headers = {'Authorization': authorizationstring,