liquid_feedback_frontend

view env/lf4rcs/notification_handler.lua @ 1548:408e4b1d5234

Added todo on allowing cors requests for api module
author bsw
date Mon Oct 26 11:06:53 2020 +0100 (2020-10-26)
parents 30523f31b186
children
line source
1 function lf4rcs.notification_handler(event)
2 if event.event == "issue_state_changed" and (
3 event.state ~= "admission" and
4 event.state ~= "discussion" and
5 event.state ~= "verification" and
6 event.state ~= "voting"
7 ) then
8 lf4rcs.commit(event.issue)
9 end
10 end

Impressum / About Us