We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168f6c4 commit ca4e02eCopy full SHA for ca4e02e
src/index.js
@@ -79,8 +79,14 @@ class CoCreateMetrics {
79
if (this.wsManager.organizations.has(organization_id)) {
80
if (organization.balance <= 0) {
81
this.wsManager.organizations.get(organization_id).status = false
82
- } else
+ this.wsManager.organizations.get(organization_id).organizationBalance = false
83
+ this.wsManager.organizations.get(organization_id).error = 'Your balance has fallen bellow 0'
84
+
85
+ } else {
86
this.wsManager.organizations.get(organization_id).status = true
87
+ this.wsManager.organizations.get(organization_id).organizationBalance = true
88
+ this.wsManager.organizations.get(organization_id).error = ''
89
+ }
90
}
91
92
let timeStamp = new Date();
0 commit comments