refactor to clean up scopes

This commit is contained in:
Taylor Wilsdon
2025-08-03 10:30:04 -04:00
parent d5949ee5b1
commit 2836f6c45f
6 changed files with 61 additions and 191 deletions

View File

@@ -16,12 +16,12 @@ from fastapi import Body
from auth.service_decorator import require_google_service
from core.utils import handle_http_errors
from core.server import (
from core.server import server
from auth.scopes import (
GMAIL_SEND_SCOPE,
GMAIL_COMPOSE_SCOPE,
GMAIL_MODIFY_SCOPE,
GMAIL_LABELS_SCOPE,
server,
)
logger = logging.getLogger(__name__)