removed an artifact from GetBerths
This commit is contained in:
parent
02c4e6e88a
commit
10db47073f
@ -16,7 +16,6 @@ def GetBerths(token):
|
|||||||
pooledConnection = local_db.getPoolConnection()
|
pooledConnection = local_db.getPoolConnection()
|
||||||
commands = pydapper.using(pooledConnection)
|
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)
|
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'}
|
return json.dumps(data, default=model.obj_dict), 200, {'Content-Type': 'application/json; charset=utf-8'}
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import bcrypt
|
|||||||
|
|
||||||
from ..schemas import model
|
from ..schemas import model
|
||||||
from .. import local_db
|
from .. import local_db
|
||||||
from BreCal.api import latest_get_request_dict, update_latest_modification_time
|
|
||||||
|
|
||||||
def PutUser(schemaModel):
|
def PutUser(schemaModel):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user