summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rw-r--r--check/app/server/api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/check/app/server/api.py b/check/app/server/api.py
index f214696..f007314 100644
--- a/check/app/server/api.py
+++ b/check/app/server/api.py
@@ -81,6 +81,7 @@ def match():
return jsonify({
'success': False,
'match': False,
+ 'added': False,
'error': error,
})
@@ -106,6 +107,7 @@ def match():
return jsonify({
'success': True,
'match': match,
+ 'added': not match,
'results': results,
'timing': time.time() - start,
})