Fix dialyzer warning

This commit is contained in:
Paweł Chmielowski 2022-04-20 19:20:16 +02:00
parent e59043db2c
commit 155261f78a
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ lookup(Token) ->
end.
-spec revoke(binary()) -> ok | error.
-spec revoke(binary()) -> ok | {error, binary()}.
revoke(Token) ->
mnesia:dirty_delete(oauth_token, Token).