From 4d0550934a1c6fe2264280b01b7d3ce8e49630dd Mon Sep 17 00:00:00 2001 From: jokajak Date: Fri, 27 May 2016 12:59:55 -0400 Subject: [PATCH] flask backend: Add a stub for bitcoin certificates Returns an empty array. No plans to implement. --- backend/flask/src/clipperz/api.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/backend/flask/src/clipperz/api.py b/backend/flask/src/clipperz/api.py index 4f6a277..7075de9 100644 --- a/backend/flask/src/clipperz/api.py +++ b/backend/flask/src/clipperz/api.py @@ -659,6 +659,15 @@ class message(HandlerMixin): result['result'] = 'done' return jsonify({'result': result}) + @login_required + def getCertificatesStatus(self, parameters, request): + """ + Provides support for BTC Certificate feature. + + No idea how it works. + """ + return jsonify({'result': {}}) + class logout(HandlerMixin):