Commit 81f26498 authored by Adam Rambousek's avatar Adam Rambousek
Browse files

Fix #152 read notif

parent 6fa61827
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1613,8 +1613,8 @@ def do_GET(request, response)
            response['Content-Type'] = 'application/json; charset=utf-8'
      end
    when 'precteno'
      if request.query["nid"].to_s != ""
        nid = request.query["nid"].to_s.force_encoding('UTF-8')
      if request.query["id"].to_s != ""
        nid = request.query["id"].to_s.force_encoding('UTF-8')
        @dict.read_notif(nid)
      end
      response.body = '{"ok":true, "msg":"saved", "nid": "'+nid+'"}'