Add return to add_break for db_helper.py
This commit is contained in:
@@ -147,6 +147,7 @@ class DBHelper():
|
||||
is_range = 0
|
||||
cursor.execute("INSERT INTO breaks (created_user, is_range, open_range, close_range) VALUES (%s, %s, %s, %s)", (user_id, is_range, break_start, break_end))
|
||||
|
||||
return
|
||||
|
||||
|
||||
def remove_callout(self, user_id: int, callout: datetime.date) -> None:
|
||||
|
||||
Reference in New Issue
Block a user