bsw@1618: local issue_id = param.get("issue_id", atom.integer) bsw@1618: local interested = param.get("interested", atom.boolean) bsw@1618: bsw@1618: slot.set_layout() bsw@1618: bsw@1649: if Interest:update(issue_id, app.session.member, interested) then bsw@1649: slot.put_into("data", "ok") bsw@1649: else bsw@1618: request.set_status("500 Internal Server Error") bsw@1618: end bsw@1618: