Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

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

Nikhil Badyal76f271400674
diff --git a/app/models/family.rb b/app/models/family.rb
index b4bb2d4c..a618220c 100644
--- a/app/models/family.rb
+++ b/app/models/family.rb
@@ -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?