From 952ab0899190534e4de4f878f0d309ea131e9b5d Mon Sep 17 00:00:00 2001 From: JimMoen Date: Fri, 10 Nov 2023 09:57:05 +0800 Subject: [PATCH] fix: make dialyzer happy --- apps/emqx_gateway_jt808/include/emqx_jt808.hrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/emqx_gateway_jt808/include/emqx_jt808.hrl b/apps/emqx_gateway_jt808/include/emqx_jt808.hrl index f5b41c2e9..a7422a4fe 100644 --- a/apps/emqx_gateway_jt808/include/emqx_jt808.hrl +++ b/apps/emqx_gateway_jt808/include/emqx_jt808.hrl @@ -187,8 +187,8 @@ -record(auth, { allow_anonymous :: boolean(), - registry :: emqx_schema:url(), - authentication :: emqx_schema:url() + registry :: emqx_schema:url() | undefined, + authentication :: emqx_schema:url() | undefined }). -type auth() :: #auth{}.