25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +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("translate.hrl").
-define(DEFAULT_API_VERSION, 0).
-define(DEFAULT_API_VERSION, 1000000).
-define(CT_PLAIN,
{<<"Content-Type">>, <<"text/plain">>}).