liquid_feedback_frontend
changeset 1585:020fd82c6cb4
Updated include_roles parameter type to boolean
author | bsw |
---|---|
date | Tue Jan 26 18:57:19 2021 +0100 (2021-01-26) |
parents | 2874a199c727 |
children | 1c21a43ef121 |
files | app/main/oauth2/validate.lua |
line diff
1.1 --- a/app/main/oauth2/validate.lua Tue Jan 26 18:52:28 2021 +0100 1.2 +++ b/app/main/oauth2/validate.lua Tue Jan 26 18:57:19 2021 +0100 1.3 @@ -79,7 +79,7 @@ 1.4 if param.get("include_member_notify_email", atom.boolean) then 1.5 r.member.notify_email = member.notify_email 1.6 end 1.7 - if param.get("include_roles") then 1.8 + if param.get("include_roles", atom.boolean) then 1.9 for i, unit in ipairs(member.units) do 1.10 if unit.attr.role then 1.11 r.roles = json.object()