Updated usage check threshold to 100pc instead of 1 #1504

Merged
nikhilbadyal merged 1 commits from incorrect-usage-error into main 2024-11-27 07:33:26 +08:00

View File

@@ -154,7 +154,7 @@ class Family < ApplicationRecord
end
def synth_overage?
self.class.synth_provider && self.class.synth_provider.usage.utilization >= 1
self.class.synth_provider && self.class.synth_provider.usage.utilization >= 100
end
def subscribed?