From: Evgeny Khramtsov Date: Thu, 18 Jul 2019 19:35:16 +0000 (+0300) Subject: Fix typo X-Git-Tag: 19.08~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55d42b90009dbc19d8f92055900e1edff3aa1aff;p=ejabberd Fix typo --- diff --git a/src/ejabberd_options.erl b/src/ejabberd_options.erl index a9b435dfb..8ad077edb 100644 --- a/src/ejabberd_options.erl +++ b/src/ejabberd_options.erl @@ -396,7 +396,7 @@ opt_type(websocket_timeout) -> econf:timeout(second); opt_type(jwt_key) -> econf:and_then( - econf:file(), + econf:path(), fun(Path) -> case file:read_file(Path) of {ok, Data} ->