Browse Source

Fixed modpol.dashboard call for listing orgs to new nomenclature

Nathan Schneider 3 years ago
parent
commit
10810eeaa7
1 changed files with 2 additions and 1 deletions
  1. 2 1
      modpol/interactions/interactions.lua

+ 2 - 1
modpol/interactions/interactions.lua

@@ -12,8 +12,9 @@
 modpol.dashboard = function(user)
    local output = ""
    -- Org status
-   output = output .. "Orgs:\n" .. modpol.orgs.list_orgs()
+   output = output .. "Orgs:\n" .. modpol.orgs.list_all()
    -- Process status (ongoing processes)
+   output = output .. "Processes:\n" .. table.concat(modpol.processes)
    -- Command list (should be redone to be org-specific)
    output = output .. "Command list:\n"
    for key,value in pairs(modpol) do