sql_app/schema: fix type error
Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
		
							parent
							
								
									98c3f5416a
								
							
						
					
					
						commit
						7dab731337
					
				@ -50,7 +50,7 @@ def create_item_for_user(
 | 
			
		||||
    return crud.create_user_item(db=db, item=item, user_id=user_id)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@app.get("/items/", response_model=list[schemas.IotEntity])
 | 
			
		||||
@app.get("/items/", response_model=List[schemas.IotEntity])
 | 
			
		||||
def read_items(skip: int = 0, limit: int = 100, db: Session = Depends(get_db)):
 | 
			
		||||
    items = crud.get_items(db, skip=skip, limit=limit)
 | 
			
		||||
    return items
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user