brestok commited on
Commit
ed39658
·
1 Parent(s): 50a2757
Files changed (1) hide show
  1. cbh/api/calls/services/daily.py +1 -1
cbh/api/calls/services/daily.py CHANGED
@@ -40,7 +40,7 @@ async def create_daily_token(call: CallModel, account_id: str) -> str:
40
  "user_name": call.coach.name if is_coach else call.customer.name,
41
  "user_id": account_id,
42
  "exp": int(call.event.endDate.timestamp()) + 3600,
43
- "nbf": int(call.event.startDate.timestamp()) - 600,
44
  "eject_at_token_exp": True,
45
  }
46
  }
 
40
  "user_name": call.coach.name if is_coach else call.customer.name,
41
  "user_id": account_id,
42
  "exp": int(call.event.endDate.timestamp()) + 3600,
43
+ "nbf": int(call.event.startDate.timestamp()) - 3600 * 24,
44
  "eject_at_token_exp": True,
45
  }
46
  }