From 854f31d8dfec1d091be8f12cff47ea52410b3449 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Tue, 26 Nov 2024 23:04:13 +0530 Subject: [PATCH] Updated usage check threshold to 100pc instead of 1 --- app/models/family.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- 2.53.0