Explorar o código

Bug fix: frontend merchant class was not being created.

Lee Morgan %!s(int64=5) %!d(string=hai) anos
pai
achega
41260885fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      views/dashboardPage/js/dashboard.js

+ 1 - 1
views/dashboardPage/js/dashboard.js

@@ -25,7 +25,7 @@ const Merchant = require("./classes/Merchant.js");
 
 window.merchant = new Merchant(
     data.merchant.name,
-    date.owner.email,
+    data.owner.email,
     data.merchant.pos,
     data.merchant.inventory,
     data.merchant.recipes,