Browse Source

+guest order good

Ivan Asmer 5 years ago
parent
commit
f84284ecf8
1 changed files with 4 additions and 0 deletions
  1. 4 0
      models.js

+ 4 - 0
models.js

@@ -83,6 +83,10 @@ module.exports = async (dbName='shop') => {
                     images: "good"
                 }
             }
+
+            static get guestRelations(){
+                return ["categories", "orderGoods"]
+            }
         }
         SlicedSavable.addClass(Good)