Skip to content

Commit 28f5e2f

Browse files
author
Mohamed Mohamed
authored
docs: fix revoke_all example typo (#148)
1 parent 1c406e1 commit 28f5e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/guardian/db.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ defmodule Guardian.DB do
207207
208208
def revoke_all(resource, claims) do
209209
with {:ok, sub} <- subject_for_token(resource, claims) do
210-
Guardian.DB.revoke_all(resource)
210+
Guardian.DB.revoke_all(sub)
211211
end
212212
end
213213
end

0 commit comments

Comments
 (0)