@blocklet/pages-kit-block-studio 0.5.54 → 0.5.56
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/lib/cjs/middlewares/init-block-studio-router.js +9 -9
- package/lib/cjs/middlewares/init-resource-router.js +1 -1
- package/lib/cjs/plugins/_theme.js +16 -11
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/generate-wrapper-code.js +1 -1
- package/lib/esm/middlewares/init-block-studio-router.js +9 -9
- package/lib/esm/middlewares/init-resource-router.js +1 -1
- package/lib/esm/plugins/_theme.js +17 -14
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/generate-wrapper-code.js +1 -1
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -164,7 +164,7 @@ router.get('/api/pages', async (req, res) => {
|
|
|
164
164
|
return res.status(400).json({ message: 'Either did or projectId is required' });
|
|
165
165
|
} catch (error) {
|
|
166
166
|
console.error('Error fetching pages:', error);
|
|
167
|
-
return res.status(
|
|
167
|
+
return res.status(400).json({ message: 'Internal server error' });
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
|