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:
parent
e26729b483
commit
8671bf70ab
@ -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">>}).
|
||||||
|
Loading…
Reference in New Issue
Block a user