diff --git a/backend/app/api/routes/cloud.py b/backend/app/api/routes/cloud.py index 088664c..61ce6c6 100644 --- a/backend/app/api/routes/cloud.py +++ b/backend/app/api/routes/cloud.py @@ -9,7 +9,7 @@ from __future__ import annotations import asyncio import logging -from datetime import UTC, datetime +from datetime import datetime, timezone from typing import Any import httpx @@ -105,7 +105,7 @@ async def enroll( # talking to. Nothing refreshes this. jwks=data["jwks"], local_user_id=str(current_user.id), - enrolled_at=datetime.now(UTC).isoformat(), + enrolled_at=datetime.now(timezone.utc).isoformat(), portal_account=current_user.email, ) cloud_config.save(config)