25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

mod_http_api: When no specific API version is requested, use the latest

This commit is contained in:
Badlop 2023-11-29 17:39:34 +01:00
parent e26729b483
commit 8671bf70ab

View File

@ -39,7 +39,7 @@
-include("ejabberd_stacktrace.hrl"). -include("ejabberd_stacktrace.hrl").
-include("translate.hrl"). -include("translate.hrl").
-define(DEFAULT_API_VERSION, 0). -define(DEFAULT_API_VERSION, 1000000).
-define(CT_PLAIN, -define(CT_PLAIN,
{<<"Content-Type">>, <<"text/plain">>}). {<<"Content-Type">>, <<"text/plain">>}).