@blocklet/pages-kit-block-studio 0.5.55 → 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.
@@ -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(500).json({ message: 'Internal server error' });
167
+ return res.status(400).json({ message: 'Internal server error' });
168
168
  }
169
169
  });
170
170