kin: KIN-OBS-021 Вынести raw SQL из cli/watch.py в core/models.py

This commit is contained in:
Gros Frumos 2026-03-17 18:23:48 +02:00
parent 669ed2fbc9
commit a4e5497401
4 changed files with 22 additions and 24 deletions

View file

@ -439,7 +439,7 @@ class ProjectLinkCreate(BaseModel):
description: str | None = None
@app.post("/api/project-links")
@app.post("/api/project-links", status_code=201)
def create_project_link(body: ProjectLinkCreate):
"""Create a project dependency link."""
conn = get_conn()