fix: removed id for update data
This commit is contained in:
		@@ -8,7 +8,7 @@ from api.schemas.base import Base
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class UserUpdate(Base):
 | 
			
		||||
    id: Optional[int] = None
 | 
			
		||||
    # id: Optional[int] = None
 | 
			
		||||
    name: Optional[str] = Field(None, max_length=100)
 | 
			
		||||
    login: Optional[str] = Field(None, max_length=100)
 | 
			
		||||
    email: Optional[EmailStr] = None
 | 
			
		||||
 
 | 
			
		||||
@@ -8,7 +8,7 @@ from api.db.tables.events import EventState,EventStatus
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class ListEventUpdate(Base):
 | 
			
		||||
    id: Optional[int] = None
 | 
			
		||||
    # id: Optional[int] = None
 | 
			
		||||
    name: Optional[str] = Field(None, max_length=40)
 | 
			
		||||
    title: Optional[str] = Field(None, max_length=64)
 | 
			
		||||
    creator_id: Optional[int] = None
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user