@wecode-team/cms-supabase-api 0.1.45 → 0.1.46

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/dist/index.js CHANGED
@@ -7371,8 +7371,8 @@ function createOssUploadRoute(app) {
7371
7371
  return app;
7372
7372
  }
7373
7373
  function createConfigRoute(app) {
7374
- app.get("/configs", requireJwtAuth, requireAdminRole, getConfig);
7375
- app.put("/configs/:namespace", requireJwtAuth, requireAdminRole, function (c) {
7374
+ app.get("/configs", requireAdminRole, getConfig);
7375
+ app.put("/configs/:namespace", requireAdminRole, function (c) {
7376
7376
  return updateConfig(c);
7377
7377
  });
7378
7378
  return app;