mcp-http-webhook 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/dist/server.js +1 -1
- package/package.json +1 -1
- package/src/server.ts +1 -1
package/dist/server.js
CHANGED
|
@@ -393,7 +393,7 @@ function createMCPServer(config) {
|
|
|
393
393
|
const subscription = await subscriptionManager.getSubscription(subscriptionId);
|
|
394
394
|
if (!subscription) {
|
|
395
395
|
logger.warn('Subscription not found', { subscriptionId });
|
|
396
|
-
return res.status(
|
|
396
|
+
return res.status(200).json({ error: 'Subscription not found' });
|
|
397
397
|
}
|
|
398
398
|
// Process webhook
|
|
399
399
|
const changeInfo = await webhookManager.processIncomingWebhook(subscriptionId, payload, headers, subscription);
|
package/package.json
CHANGED
package/src/server.ts
CHANGED
|
@@ -474,7 +474,7 @@ export function createMCPServer(config: MCPServerConfig): MCPServer {
|
|
|
474
474
|
const subscription = await subscriptionManager.getSubscription(subscriptionId);
|
|
475
475
|
if (!subscription) {
|
|
476
476
|
logger.warn('Subscription not found', { subscriptionId });
|
|
477
|
-
return res.status(
|
|
477
|
+
return res.status(200).json({ error: 'Subscription not found' });
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
// Process webhook
|