kin: KIN-OBS-021 Вынести raw SQL из cli/watch.py в core/models.py
This commit is contained in:
parent
669ed2fbc9
commit
a4e5497401
4 changed files with 22 additions and 24 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue