From c0145ed074d677a913ceb707be86b01be78fc68f Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Mon, 23 Oct 2017 10:36:21 -0700 Subject: [PATCH] POST was fully broken --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 677f215..e5a82b7 100644 --- a/app.py +++ b/app.py @@ -29,7 +29,7 @@ def graph(uuid): data = json.dumps(g.to_json(stringify=True)) # Insert into the database - redis.setex(uuid, data, DAY) + redis.setex(uuid, DAY, data) # Return success return "Posted {} bytes OK".format(len(data))