1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00

Updated usage check threshold to 100pc instead of 1 (#1504)
Some checks are pending
Publish Docker image / ci (push) Waiting to run
Publish Docker image / Build docker image (push) Blocked by required conditions

This commit is contained in:
Nikhil Badyal 2024-11-27 05:03:26 +05:30 committed by GitHub
parent a9b61a655b
commit 76f2714006
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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?