Closed swapnalshahil closed 3 years ago
Describe the bug There is a bug in API: http://127.0.0.1:5000/case/list
@case.route('/list', methods=["GET"]) def list(): all_cases = Case.query.order_by(Case.timestamp).all() result = cases_schema.dump(all_cases) return jsonify(result)
Case model does not have timestamp column.
To Reproduce We can use extracted_on instead.
Describe the bug There is a bug in API: http://127.0.0.1:5000/case/list
Case model does not have timestamp column.
To Reproduce We can use extracted_on instead.