@fre4x/fred 1.0.65-beta.0 → 1.0.65-beta.2
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 +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46455,6 +46455,11 @@ server.registerTool(
|
|
|
46455
46455
|
limit,
|
|
46456
46456
|
offset
|
|
46457
46457
|
);
|
|
46458
|
+
if (!res.seriess || res.seriess.length === 0) {
|
|
46459
|
+
return createNotFoundError(
|
|
46460
|
+
`Category '${category_id}' not found.`
|
|
46461
|
+
);
|
|
46462
|
+
}
|
|
46458
46463
|
const text = formatSeriesList(res.seriess, res.count, offset);
|
|
46459
46464
|
return { content: [{ type: "text", text: truncateToLimit(text) }] };
|
|
46460
46465
|
} catch (err) {
|
|
@@ -46527,6 +46532,11 @@ server.registerTool(
|
|
|
46527
46532
|
limit,
|
|
46528
46533
|
offset
|
|
46529
46534
|
);
|
|
46535
|
+
if (!res.seriess || res.seriess.length === 0) {
|
|
46536
|
+
return createNotFoundError(
|
|
46537
|
+
`Release '${release_id}' not found.`
|
|
46538
|
+
);
|
|
46539
|
+
}
|
|
46530
46540
|
const text = formatSeriesList(res.seriess, res.count, offset);
|
|
46531
46541
|
return { content: [{ type: "text", text: truncateToLimit(text) }] };
|
|
46532
46542
|
} catch (err) {
|