mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix dialyzer warning
This commit is contained in:
parent
e59043db2c
commit
155261f78a
@ -69,7 +69,7 @@ lookup(Token) ->
|
|||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
||||||
-spec revoke(binary()) -> ok | error.
|
-spec revoke(binary()) -> ok | {error, binary()}.
|
||||||
revoke(Token) ->
|
revoke(Token) ->
|
||||||
mnesia:dirty_delete(oauth_token, Token).
|
mnesia:dirty_delete(oauth_token, Token).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user