commit de4dca1527927321322ef85a0430ad3258ff53df
parent f9b4a0eca076dc8463e2a3eaafa1a6aac0c8f17a
Author: rbckman <rob@tarina.org>
Date: Sat, 22 Aug 2026 13:16:33 +0300
no
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server.py b/server.py
@@ -1893,7 +1893,7 @@ class pull:
postdict.update({l['postid']:{'postid': l['postid'], 'name': l['creator']}})
web.header('Content-Type', 'application/json')
web.header('Access-Control-Allow-Origin', '*') # helps with browser/script access
- return web.jsonify(postdict)
+ return json.dumps(postdict)
else:
for t in trusted:
trusted=loadjson('r/trusted/'+session.user+'/'+t)