[chronojump-server] Fixing the problem that causes the error in ajax call for retrieving results
- From: Marcos Venteo Garcia <mventeo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump-server] Fixing the problem that causes the error in ajax call for retrieving results
- Date: Fri, 23 Jun 2017 17:28:09 +0000 (UTC)
commit b94737f3ce1167cd7eea9eaeeaa31049b0bbf5f5
Author: Marcos Venteo GarcĂa <mventeo gmail com>
Date: Fri Jun 23 19:27:59 2017 +0200
Fixing the problem that causes the error in ajax call for retrieving results
chronojumpserver/api.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/chronojumpserver/api.py b/chronojumpserver/api.py
index 3122ce8..8cebc99 100755
--- a/chronojumpserver/api.py
+++ b/chronojumpserver/api.py
@@ -13,7 +13,7 @@ import subprocess
@app.route('/api/v1/results')
def get_all_results():
- results = [result.serialize for result in Result.query.all()]
+ results = [result.serialize for result in ResultEncoder.query.all()]
return jsonify(data=results)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]