清除“Task”模块
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from fastapi import APIRouter, Depends
|
||||
|
||||
from app.constants import ae, finance, imp, issue, subject, task
|
||||
from app.constants import ae, finance, imp, issue, subject
|
||||
from app.core.deps import get_current_user
|
||||
|
||||
router = APIRouter(tags=["FAQ"], dependencies=[Depends(get_current_user)])
|
||||
@@ -13,7 +13,6 @@ router = APIRouter(tags=["FAQ"], dependencies=[Depends(get_current_user)])
|
||||
)
|
||||
async def get_constants():
|
||||
return {
|
||||
"task": {"status": task.TASK_STATUS, "priority": task.TASK_PRIORITY},
|
||||
"subject": {"status": subject.SUBJECT_STATUS, "visit_status": subject.VISIT_STATUS},
|
||||
"ae": {"seriousness": ae.AE_SERIOUSNESS, "severity": ae.AE_SEVERITY, "status": ae.AE_STATUS},
|
||||
"issue": {"category": issue.ISSUE_CATEGORY, "level": issue.ISSUE_LEVEL, "status": issue.ISSUE_STATUS},
|
||||
|
||||
Reference in New Issue
Block a user