Skip to content

Commit

Permalink
no logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xziy committed Aug 6, 2024
1 parent 1c0b8c0 commit 336b6de
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion hook/bindAdminpanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const CatalogHandler_1 = require("sails-adminpanel/lib/catalog/CatalogHandler");
const ProductCatalog_1 = require("../libs/adminpanel/ProductCatalog/ProductCatalog");
const productCatalog = new ProductCatalog_1.ProductCatalog();
CatalogHandler_1.CatalogHandler.add(productCatalog);
console.log(productCatalog, CatalogHandler_1.CatalogHandler.getAll(), 1111122221);
function bindAdminpanel() {
sails.on('Adminpanel:afterHook:loaded', async () => {
processBindAdminpanel();
Expand Down
1 change: 0 additions & 1 deletion hook/bindAdminpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { ProductCatalog } from "../libs/adminpanel/ProductCatalog/ProductCatalog

const productCatalog = new ProductCatalog()
CatalogHandler.add(productCatalog);
console.log(productCatalog,CatalogHandler.getAll(),1111122221)
export default function bindAdminpanel () {
sails.on('Adminpanel:afterHook:loaded', async ()=>{
processBindAdminpanel();
Expand Down

0 comments on commit 336b6de

Please sign in to comment.