Daniel Neuhäuser  committed 1d8d48f

Fixed example in websupports docs. this closes #608

  • Participants
  • Parent commits 8eef2c7

Comments (0)

Files changed (1)

File doc/web/quickstart.rst

         username = if g.user else None
         moderator = g.user.moderator if g.user else False
         node_id = request.args.get('node', '')
-        data = support.get_data(parent_id, user_id)
+        data = support.get_data(node_id, username, moderator)
         return jsonify(**data)
 The final function that is needed will call :meth:`~.WebSupport.process_vote`,