mirror of
https://github.com/a-mayb3/Kanban_clone_backend.git
synced 2026-03-21 10:05:38 +01:00
change user addition to project to be based off of email address and not user id
This commit is contained in:
parent
1b84af0025
commit
0f0b27b2d9
2 changed files with 11 additions and 8 deletions
|
|
@ -26,6 +26,9 @@ class ProjectUpdate(BaseModel):
|
|||
name: Optional[str] = None
|
||||
description: Optional[str] = None
|
||||
|
||||
class ProjectAddUser(BaseModel):
|
||||
user_email: str
|
||||
|
||||
class ProjectAddUsers(BaseModel):
|
||||
user_ids: List[int] = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue