Backend enhancements: auth, channels, restaurants, daemon improvements

- Add admin auth dependency and role checks
- Expand channel and restaurant API routes
- Improve YouTube transcript fetching
- Enhance daemon worker with better error handling and scheduling

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
joungmin
2026-03-09 10:59:22 +09:00
parent d6afb62c18
commit 6c47d3c57d
9 changed files with 208 additions and 42 deletions

View File

@@ -1,7 +1,6 @@
"""Run the daemon worker."""
import logging
import os
from dotenv import load_dotenv
load_dotenv()
@@ -14,5 +13,4 @@ logging.basicConfig(
)
if __name__ == "__main__":
interval = int(os.environ.get("DAEMON_INTERVAL", "3600"))
run_loop(interval)
run_loop()