Merge remote-tracking branch 'origin/main' - resolve conflict

- Resolved conflict in app/social/services.py
- Kept token auto-refresh logic with now() function for timezone support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
HyeongBaeYangandClaude Opus 4.5 committed 2026-02-09 11:04:14 +09:00
commit 40afe9392c
18 files changed
+410 -53

No files matched your search

+3 -2
View File
@@ -7,11 +7,12 @@ Social Upload Background Task
import logging
import os
import tempfile
from datetime import datetime
from pathlib import Path
from typing import Optional
import aiofiles
from app.utils.timezone import now
import httpx
from sqlalchemy import select
from sqlalchemy.exc import SQLAlchemyError
@@ -70,7 +71,7 @@ async def _update_upload_status(
if error_message:
upload.error_message = error_message
if status == UploadStatus.COMPLETED:
upload.uploaded_at = datetime.now()
upload.uploaded_at = now()
await session.commit()
logger.info(