fix: remove unused Request param from forgejo error reporter status endpoint
This commit is contained in:
@@ -4,7 +4,7 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from fastapi import APIRouter, Request
|
from fastapi import APIRouter
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@ router = APIRouter(prefix="/api/v1/forgejo-error-reporter", tags=["forgejo_error
|
|||||||
|
|
||||||
|
|
||||||
@router.get("/status")
|
@router.get("/status")
|
||||||
async def get_status(request: Request) -> dict:
|
async def get_status() -> dict:
|
||||||
"""Get the current status of the Forgejo Error Reporter plugin."""
|
"""Get the current status of the Forgejo Error Reporter plugin."""
|
||||||
from app.plugins.registry import get_registry
|
from app.plugins.registry import get_registry
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user