Skip to content

Commit

Permalink
Remove default case of ptime_available
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelMoeri committed Feb 21, 2025
1 parent 50f19be commit 1dcf990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/auth_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def devise?
end

def ptime_available?
ActiveModel::Type::Boolean.new.cast(ENV.fetch('PTIME_API_ACCESSIBLE', true))
ActiveModel::Type::Boolean.new.cast(ENV.fetch('PTIME_API_ACCESSIBLE'))
end

def language_selector
Expand Down

0 comments on commit 1dcf990

Please sign in to comment.