diff --git a/platform/edges/src/jsonrpc/methods/deleteNode.ts b/platform/edges/src/jsonrpc/methods/deleteNode.ts index 46a1464630..773461f045 100644 --- a/platform/edges/src/jsonrpc/methods/deleteNode.ts +++ b/platform/edges/src/jsonrpc/methods/deleteNode.ts @@ -24,13 +24,5 @@ export const deleteNodeMethod = async ({ const statement = remove.node(ctx.graph, nodeUrn) const deleted = await ctx.graph.db.batch([statement]) - if ( - deleted.length > 1 || - (deleted.length === 1 && deleted[0].meta && deleted[0].meta.changes > 1) - ) - //This should never happen, but adding just in case - throw new InternalServerError({ - message: 'Node deletion returned more than one result.', - }) return { deleted: deleted[0].meta.changes === 1 } }