liquid_feedback_frontend

view app/main/opinion/_action/update.lua @ 1812:fc3f15316a68

Better error handling also for creating new accounts
author bsw
date Thu Dec 02 13:33:05 2021 +0100 (2021-12-02)
parents 4188405c2425
children
line source
1 local suggestion_id = param.get("suggestion_id", atom.integer)
2 local degree = param.get("degree", atom.number)
3 local fulfilled = param.get("fulfilled", atom.boolean)
5 return Opinion:update(suggestion_id, app.session.member_id, degree, fulfilled)

Impressum / About Us