Skip to content

Commit

Permalink
Change the parameter to be returned in the 'unauthorized_message' fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
LeoLeiteSC committed Jun 7, 2022
1 parent 82914aa commit 1de3937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authorization.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ defmodule Rajska.Authorization do

@callback has_user_access?(current_user, scoped_struct, rule) :: boolean()

@callback unauthorized_message(resolution :: Resolution.t()) :: String.t()
@callback unauthorized_message(resolution :: Resolution.t()) :: String.t() | map() | list()

@callback unauthorized_query_scope_message(resolution :: Resolution.t(), atom()) :: String.t()

Expand Down

0 comments on commit 1de3937

Please sign in to comment.