Parcourir la source

Fixed modpol.dashboard call for listing orgs to new nomenclature

Nathan Schneider il y a 3 ans
Parent
commit
10810eeaa7
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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