mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 07:27:15 +08:00
refactor backend module architecture
This commit is contained in:
@@ -247,7 +247,7 @@ python <skill_dir>/scripts/submit_feedback_issue.py \
|
||||
--username "<current admin username if known>"
|
||||
```
|
||||
|
||||
The script automatically imports MoviePilot's `app.core.config.settings`
|
||||
The script automatically imports MoviePilot's `app.platform.config.settings`
|
||||
and reads the system-configured `GITHUB_TOKEN` / `settings.GITHUB_HEADERS`
|
||||
from the running MoviePilot environment. Do not ask the user to provide
|
||||
a GitHub token in chat, and never accept or echo a token from the user.
|
||||
|
||||
@@ -28,7 +28,7 @@ REPO_ROOT = _find_repo_root()
|
||||
if str(REPO_ROOT) not in sys.path:
|
||||
sys.path.insert(0, str(REPO_ROOT))
|
||||
|
||||
from app.core.config import settings # noqa: E402
|
||||
from app.platform.config import settings # noqa: E402
|
||||
|
||||
|
||||
FEEDBACK_REPO_OWNER = "jxxghp"
|
||||
|
||||
@@ -36,7 +36,7 @@ from feedback_issue_common import (
|
||||
validate_enum,
|
||||
validate_target_repo_for_issue,
|
||||
)
|
||||
from app.utils.http import RequestUtils
|
||||
from app.foundation.http import RequestUtils
|
||||
|
||||
|
||||
REQUIRED_PAYLOAD_FIELDS = (
|
||||
|
||||
Reference in New Issue
Block a user