@littlebox/strapi-suite 1.0.32 → 1.0.33

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.
@@ -1189,9 +1189,7 @@ function getModuleName(url) {
1189
1189
  throw new Error("Module not found");
1190
1190
  }
1191
1191
  const CheckModuleIsActive = (config2, { strapi: strapi2 }) => {
1192
- console.log("---------->1");
1193
1192
  return async (ctx, next) => {
1194
- console.log("---------->2");
1195
1193
  const module2 = getModuleName(ctx.request.url);
1196
1194
  const config22 = strapi2.config.get(`plugin::${PLUGIN_ID}`);
1197
1195
  const setting = await strapi2.db.query(config22.uuid.app.setting).findOne({
@@ -1201,7 +1199,6 @@ const CheckModuleIsActive = (config2, { strapi: strapi2 }) => {
1201
1199
  }
1202
1200
  });
1203
1201
  const isActive = setting.value === "true";
1204
- console.log("isActive: ", isActive);
1205
1202
  if (!isActive) {
1206
1203
  return ctx.forbidden("Module is not active");
1207
1204
  }
@@ -1188,9 +1188,7 @@ function getModuleName(url) {
1188
1188
  throw new Error("Module not found");
1189
1189
  }
1190
1190
  const CheckModuleIsActive = (config2, { strapi: strapi2 }) => {
1191
- console.log("---------->1");
1192
1191
  return async (ctx, next) => {
1193
- console.log("---------->2");
1194
1192
  const module = getModuleName(ctx.request.url);
1195
1193
  const config22 = strapi2.config.get(`plugin::${PLUGIN_ID}`);
1196
1194
  const setting = await strapi2.db.query(config22.uuid.app.setting).findOne({
@@ -1200,7 +1198,6 @@ const CheckModuleIsActive = (config2, { strapi: strapi2 }) => {
1200
1198
  }
1201
1199
  });
1202
1200
  const isActive = setting.value === "true";
1203
- console.log("isActive: ", isActive);
1204
1201
  if (!isActive) {
1205
1202
  return ctx.forbidden("Module is not active");
1206
1203
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.32",
2
+ "version": "1.0.33",
3
3
  "keywords": [
4
4
  "strapi",
5
5
  "strapi plugin",