# HG changeset patch # User Trần H. Trung # Date 1690779120 -25200 # Node ID 7e5701fbae883a491cfd8a88d09e5ddfb634481d # Parent 99c0e675b969cb3230383f554e8d4021bcc65b72 mod_invites_api: add `module:depends("http");` to use `module:http_url()` in `prosodyctl`. diff -r 99c0e675b969 -r 7e5701fbae88 mod_invites_api/mod_invites_api.lua --- a/mod_invites_api/mod_invites_api.lua Sat Jul 29 22:51:48 2023 +0700 +++ b/mod_invites_api/mod_invites_api.lua Mon Jul 31 11:52:00 2023 +0700 @@ -306,6 +306,7 @@ return 1; end require "core.storagemanager".initialize_host(domain); + module:depends("http"); module.host = domain; --luacheck: ignore 122/module usermanager.initialize_host(module.host); api_key_store = module:open_store("invite_api_keys", "map");