liquid_feedback_frontend
annotate app/main/interest/_action/xhr_update.lua @ 1646:9cf1f17ac730
Fixed minimum height style of card action area
| author | bsw |
|---|---|
| date | Wed Feb 10 00:30:17 2021 +0100 (2021-02-10) |
| 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 |