make_request now automatically launches a process

This commit is contained in:
Luke Miller
2021-05-08 12:18:13 -04:00
parent 797d0bebb8
commit 3b35817d5b
3 changed files with 17 additions and 9 deletions
+2 -2
View File
@@ -296,9 +296,9 @@ end
-- ====================================
-- adds a new policy to the policy table
-- must define the policy type, process associated with it, and whether the request must be made by an org member
function modpol.orgs:set_policy(policy_type, process, must_be_member)
function modpol.orgs:set_policy(policy_type, process_type, must_be_member)
local new_policy = {
process = process,
process_type = process_type,
must_be_member = must_be_member
}
self.policies[policy_type] = new_policy