From 8671bf70ab057caf69fdc1d1b798ef48ad4ab5b6 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 29 Nov 2023 17:39:34 +0100 Subject: [PATCH] mod_http_api: When no specific API version is requested, use the latest --- src/mod_http_api.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl index 514a8632c..afe658eb0 100644 --- a/src/mod_http_api.erl +++ b/src/mod_http_api.erl @@ -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">>}).