Skip to content

Commit

Permalink
Hotfix insufficient credit provider (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
wilco375 authored Jun 16, 2022
1 parent ffe120f commit eb9ead8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def minor
end

def insufficient_credit
provider == 'banana_oauth2' and credit < -5
provider == 'amber_oauth2' and credit < -5
end

def treasurer?
Expand Down

0 comments on commit eb9ead8

Please sign in to comment.