geer-builder 1.2.963 → 1.2.964

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/models/DB_SLOT.js CHANGED
@@ -27,6 +27,11 @@ export default class DB_SLOT extends MODEL
27
27
  {
28
28
  let data = await this.collection().where('referral_code', '==', code).get();
29
29
 
30
+ if(data.size === 0)
31
+ {
32
+ data = await this.collection().where('custom_referral_code', '==', code).get();
33
+ }
34
+
30
35
  if(data.size === 0)
31
36
  {
32
37
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geer-builder",
3
- "version": "1.2.963",
3
+ "version": "1.2.964",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {