Fixed modpol.dashboard call for listing orgs to new nomenclature

This commit is contained in:
Nathan Schneider 2021-04-15 23:33:40 -06:00
parent defa4fac50
commit 10810eeaa7

View File

@ -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