From 9843efe08931e72510d88726c22fc702884cf132 Mon Sep 17 00:00:00 2001 From: Adrian Chifor Date: Sat, 31 Oct 2020 16:16:26 +0000 Subject: [PATCH] Fix redis incompatibility --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index f2db0a0..521dac1 100644 --- a/app.py +++ b/app.py @@ -39,7 +39,7 @@ def api_v1_create(): if ('token' in request.form) and ('encryptedToken' in request.form): db.set(key + "_encryptedToken", request.form['encryptedToken']) - db.set(key + "_" + request.form['token'], True) + db.set(key + "_" + request.form['token'], 'true') if 'destructOption' in request.form: destructOption = request.form['destructOption']