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
1 changed files with 1 additions and 1 deletions

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">>}).