@mastra/deployer 1.67.0-alpha.3 → 1.67.0-alpha.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/index.js
CHANGED
|
@@ -3472,7 +3472,7 @@ var MastraServer$1 = class extends MastraServer {
|
|
|
3472
3472
|
}]
|
|
3473
3473
|
}, 400);
|
|
3474
3474
|
}
|
|
3475
|
-
if (params.body) try {
|
|
3475
|
+
if (params.body !== void 0 || route.bodySchema) try {
|
|
3476
3476
|
params.body = await this.parseBody(route, params.body);
|
|
3477
3477
|
} catch (error) {
|
|
3478
3478
|
this.mastra.getLogger()?.error("Error parsing body", { error: error instanceof Error ? {
|