Skip to content

Commit

Permalink
Correcoe na estrutura
Browse files Browse the repository at this point in the history
Co-authored-by: xzxjesse <[email protected]>
  • Loading branch information
gabrielhrlima committed Aug 7, 2024
1 parent cf9319a commit 3244060
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controller/recordController.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
def add_to_record(record: recordSchema.RecordCreate, db: Session = Depends(get_db)):
return recordRepository.create_record(db=db, record=record)

@Record.get("/{user_id}")
@Record.get("/get_record")
def check_record(record: recordSchema.RecordGet, db: Session = Depends(get_db)):
videos = recordRepository.get_record(db=db, record=record)
return {"videos": videos}
2 changes: 1 addition & 1 deletion src/repository/savedVideosRepository.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from sqlalchemy.orm import Session
from sqlalchemy.orm import Session

from domain import savedVideosSchema
from model import savedVideosModel
Expand Down

0 comments on commit 3244060

Please sign in to comment.