liquid_feedback_frontend

view app/main/interest/_action/xhr_update.lua @ 1641:ab837b075cf7

Fixed mldap_get_named_number_arg to not leave any element on the Lua stack (should not have had any effect anyway but is now consistent to documentation)
author jbe
date Tue Feb 09 17:44:47 2021 +0100 (2021-02-09)
parents 2f9e1e882de6
children 4188405c2425
line source
1 local issue_id = param.get("issue_id", atom.integer)
2 local interested = param.get("interested", atom.boolean)
4 slot.set_layout()
6 if not Interest:update(issue_id, app.session.member, interested) then
7 request.set_status("500 Internal Server Error")
8 end

Impressum / About Us