From bdda0d29c2b877bdba66d79671bbafbb15709944 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 6 Sep 2019 10:14:21 +0100 Subject: [PATCH] Items --- daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon.py b/daemon.py index ec0f84bb..b54170e1 100644 --- a/daemon.py +++ b/daemon.py @@ -1305,7 +1305,7 @@ class PubServer(BaseHTTPRequestHandler): # Otherwize marketers could gain more social graph info if not authorized: if postJsonObject.get('likes'): - postJsonObject['likes']={} + postJsonObject['likes']={'items': []} if self._requestHTTP(): msg= \ htmlIndividualPost(self.server.session, \ @@ -1528,7 +1528,7 @@ class PubServer(BaseHTTPRequestHandler): # Otherwize marketers could gain more social graph info if not authorized: if postJsonObject.get('likes'): - postJsonObject['likes']={} + postJsonObject['likes']={'items': []} if self._requestHTTP(): msg=htmlIndividualPost(self.server.baseDir, \ self.server.session, \