Browse Source

Small bugfixes on testing

Nathan Schneider 2 years ago
parent
commit
544edddb21
2 changed files with 2 additions and 2 deletions
  1. 1 1
      modpol_core/modules/consent.lua
  2. 1 1
      modpol_core/orgs/process.lua

+ 1 - 1
modpol_core/modules/consent.lua

@@ -53,7 +53,7 @@ function consent:callback(member)
               self.org:delete_process(self.id)
            end
            modpol.interactions.org_dashboard(
-              member, self.org.name)
+              member, self.org.id)
         end
     )
 end

+ 1 - 1
modpol_core/orgs/process.lua

@@ -42,7 +42,7 @@ function modpol.orgs:call_module(module_slug, initiator, config, result)
         org = self,
         id = index,
         config = config,
-        data = module.data,
+        data = modpol.util.copy_table(module.data),
         slug = module_slug
     }