exflower-license-server 1.0.3 → 1.0.4
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/package.json +1 -1
- package/routes.js +2 -2
package/package.json
CHANGED
package/routes.js
CHANGED
|
@@ -332,8 +332,8 @@ function setupRoutes(app) {
|
|
|
332
332
|
if (!type || !name || !content_json) {
|
|
333
333
|
return res.status(400).json({ success: false, message: 'type, name, content_json are required' });
|
|
334
334
|
}
|
|
335
|
-
if (!['agent', 'crew', 'excard', 'workflow'].includes(type)) {
|
|
336
|
-
return res.status(400).json({ success: false, message: 'type must be agent, crew, excard, or
|
|
335
|
+
if (!['agent', 'crew', 'excard', 'workflow', 'doc'].includes(type)) {
|
|
336
|
+
return res.status(400).json({ success: false, message: 'type must be agent, crew, excard, workflow, or doc' });
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
// If company_id is provided, verify it exists
|