]> granicus.if.org Git - ejabberd/commitdiff
Fix dialyzer warning in #oauth_ctx
authorAlexey Shchepin <alexey@process-one.net>
Fri, 11 Oct 2019 13:51:59 +0000 (16:51 +0300)
committerAlexey Shchepin <alexey@process-one.net>
Fri, 11 Oct 2019 14:39:11 +0000 (17:39 +0300)
src/ejabberd_oauth.erl

index 27e211f139830e3186698114c48a78f540842e25..3c95dbb36aee948428123f1c6ba8ba15f6800519 100644 (file)
@@ -69,7 +69,7 @@
 
 -record(oauth_ctx, {
           password    :: binary() | admin_generated,
-          client      :: #oauth_client{}
+          client      :: #oauth_client{} | undefined
          }).
 
 %% There are two ways to obtain an oauth token: