chore: typo error (templete -> template)

This commit is contained in:
zhongwencool 2024-02-20 09:41:09 +08:00
parent 2561ff94ec
commit c7bfaf51fd
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
%% -*- mode: erlang -*-
{application, emqx_auth_http, [
{description, "EMQX External HTTP API Authentication and Authorization"},
{vsn, "0.1.3"},
{vsn, "0.1.4"},
{registered, []},
{mod, {emqx_auth_http_app, []}},
{applications, [

View File

@ -157,7 +157,7 @@ parse_config(
method => Method,
base_url => BaseUrl,
headers => Headers,
base_path_templete => emqx_authz_utils:parse_str(Path, allowed_vars()),
base_path_template => emqx_authz_utils:parse_str(Path, allowed_vars()),
base_query_template => emqx_authz_utils:parse_deep(
cow_qs:parse_qs(to_bin(Query)),
allowed_vars()
@ -197,7 +197,7 @@ generate_request(
#{
method := Method,
headers := Headers,
base_path_templete := BasePathTemplate,
base_path_template := BasePathTemplate,
base_query_template := BaseQueryTemplate,
body_template := BodyTemplate
}