removed an artifact from GetBerths

This commit is contained in:
Max Metz 2024-06-10 16:02:27 +02:00
parent 02c4e6e88a
commit 10db47073f
2 changed files with 0 additions and 2 deletions

View File

@ -16,7 +16,6 @@ def GetBerths(token):
pooledConnection = local_db.getPoolConnection()
commands = pydapper.using(pooledConnection)
data = commands.query("SELECT id, name, `lock`, owner_id, authority_id, created, modified, deleted FROM berth WHERE deleted = 0 ORDER BY name", model=model.Berth)
# update_latest_modification_time(key="berths", modification_time=datetime.datetime.now())
return json.dumps(data, default=model.obj_dict), 200, {'Content-Type': 'application/json; charset=utf-8'}

View File

@ -5,7 +5,6 @@ import bcrypt
from ..schemas import model
from .. import local_db
from BreCal.api import latest_get_request_dict, update_latest_modification_time
def PutUser(schemaModel):
"""