remove unused API call

This commit is contained in:
boyska 2021-08-25 00:31:44 +02:00
parent fa0aec4276
commit 2341849e54

View file

@ -218,24 +218,6 @@ def check_job(recid: int):
return ret("WIP")
@app.get("/api/get/search")
def search(request: Request):
req = dict()
req.update(request.query_params.items())
logger.debug("Search request: %s" % (req))
values = db._search(**req)
from pprint import pformat
logger.debug("Returned Values %s" % pformat([r.serialize() for r in values]))
ret = {}
for rec in values:
ret[rec.id] = rec_sanitize(rec)
logging.info("Return: %s" % ret)
return ret
@app.get("/api/get/ongoing")
def get_ongoing():