mod_client_management: Fix import of util.error (not errors)
authorKim Alvefur <zash@zash.se>
Thu, 13 Apr 2023 09:11:28 +0200
changeset 5347 5c1c70e52635
parent 5346 e28ba69b5307
child 5348 0a6d2b79a8bf
mod_client_management: Fix import of util.error (not errors)
mod_client_management/mod_client_management.lua
--- a/mod_client_management/mod_client_management.lua	Wed Apr 12 11:24:50 2023 +0200
+++ b/mod_client_management/mod_client_management.lua	Thu Apr 13 09:11:28 2023 +0200
@@ -372,7 +372,7 @@
 	return true;
 end);
 
-local revocation_errors = require "util.errors".init(module.name, xmlns_manage_clients, {
+local revocation_errors = require "util.error".init(module.name, xmlns_manage_clients, {
 	["item-not-found"] = { "cancel", "item-not-found", "Client not found" };
 	["internal-server-error"] = { "wait", "internal-server-error", "Unable to revoke client access" };
 	["password-reset-required"] = { "cancel", "service-unavailable", "Password reset required", "password-reset-required" };