update
Browse files
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()) -
|
| 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 |
}
|