style: fix typo

This commit is contained in:
Thales Macedo Garitezi 2022-03-18 10:20:51 -03:00
parent e8682a1107
commit bf82b2d45c
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
-define(TELEMETRY_URL, "https://telemetry.emqx.io/api/telemetry").
%% Interval for reporting telemetry data, Default: 7d
-define(REPORT_INTERVAR, 604800).
-define(REPORT_INTERVAL, 604800).
-define(API_TAG_MQTT, [<<"mqtt">>]).
-define(API_SCHEMA_MODULE, emqx_modules_schema).

View File

@ -137,7 +137,7 @@ init(_Opts) ->
UUID
end,
{ok, #state{url = ?TELEMETRY_URL,
report_interval = timer:seconds(?REPORT_INTERVAR),
report_interval = timer:seconds(?REPORT_INTERVAL),
uuid = UUID1}}.
handle_call(enable, _From, State) ->