liquid_feedback_frontend
annotate app/main/interest/_action/xhr_update.lua @ 1631:d9ccd0d6ef8c
Fix height of card action area
author | bsw |
---|---|
date | Mon Feb 08 14:28:28 2021 +0100 (2021-02-08) |
parents | 2f9e1e882de6 |
children | 4188405c2425 |
rev | line source |
---|---|
bsw@1618 | 1 local issue_id = param.get("issue_id", atom.integer) |
bsw@1618 | 2 local interested = param.get("interested", atom.boolean) |
bsw@1618 | 3 |
bsw@1618 | 4 slot.set_layout() |
bsw@1618 | 5 |
bsw@1618 | 6 if not Interest:update(issue_id, app.session.member, interested) then |
bsw@1618 | 7 request.set_status("500 Internal Server Error") |
bsw@1618 | 8 end |
bsw@1618 | 9 |