feat(chalice): changed create project method
This commit is contained in:
parent
5e312e5ec3
commit
86d4f5c2a6
1 changed files with 1 additions and 1 deletions
|
|
@ -771,7 +771,7 @@ def signup_handler(data: schemas.UserSignupSchema = Body(...)):
|
|||
return signup.create_step1(data)
|
||||
|
||||
|
||||
@app.post('/projects', tags=['projects'])
|
||||
@app.put('/projects', tags=['projects'])
|
||||
def create_project(data: schemas.CreateProjectSchema = Body(...),
|
||||
context: schemas.CurrentContext = Depends(OR_context)):
|
||||
return projects.create(tenant_id=context.tenant_id, user_id=context.user_id, data=data)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue