Skip to content

Commit

Permalink
Revert last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MelissaAutumn authored and jdbass committed May 17, 2024
1 parent 6d36c2f commit 5e32bcc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions backend/src/appointment/database/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,13 +507,6 @@ def create_calendar_schedule(db: Session, schedule: schemas.ScheduleBase):
db.add(db_schedule)
db.commit()
db.refresh(db_schedule)

# There's a bug on stage where onupdate isn't triggered on creates.
# So update the timestamp and commit it!
db_schedule.touch()
db.commit()
db.refresh(db_schedule)

return db_schedule


Expand Down

0 comments on commit 5e32bcc

Please sign in to comment.