Skip to content

Commit

Permalink
Remove unused parameter to #authenticated? method
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelien-reeves-scalingo committed Dec 22, 2022
1 parent 57508ef commit 7f28ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scalingo/token_holder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def add_database_token(database_id, token)
@database_tokens[database_id] = bearer_token(token)
end

def authenticated?(database_id: "")
def authenticated?
valid?(token)
end

Expand Down

0 comments on commit 7f28ef5

Please sign in to comment.