Skip to content

Commit 09ce397

Browse files
committed
fix(server): return an object without primary data for delete route
fixes #1668
1 parent bcbfb9a commit 09ce397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/server/src/api/rest/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,8 +1103,8 @@ class RequestHandler extends APIHandlerBase {
11031103
where: this.makePrismaIdFilter(typeInfo.idFields, resourceId),
11041104
});
11051105
return {
1106-
status: 204,
1107-
body: undefined,
1106+
status: 200,
1107+
body: { meta: {} },
11081108
};
11091109
}
11101110

0 commit comments

Comments
 (0)