You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description and expected behavior
When using RestApiHandler with NextRequestHandler delete operations are failing.
RestApiHandler is returning undefined on the body after successful delete.
Then NextRequestHandler is trying to serialize it as JSON and failing. "message": "An unhandled error occurred: TypeError: Value is not JSON serializable"
Screenshots server/api/rest/index.js
app-route-handler.js
Environment (please complete the following information):
ZenStack version: 2.4.1
Prisma version: 5.18.0
Database type: Postgresql
The text was updated successfully, but these errors were encountered:
Description and expected behavior
When using
RestApiHandler
withNextRequestHandler
delete operations are failing.RestApiHandler is returning
undefined
on the body after successful delete.Then NextRequestHandler is trying to serialize it as JSON and failing.
"message": "An unhandled error occurred: TypeError: Value is not JSON serializable"
Screenshots
server/api/rest/index.js
app-route-handler.js
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: