We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2a6e72 commit 5885c56Copy full SHA for 5885c56
app/src/routes/codeOperations.ts
@@ -59,7 +59,7 @@ codeOperationsRouter.post('/generate', requireEmailMiddleware, async (request, r
59
|| entity.json === '{}'
60
|| entity.json.length === 0
61
|| !JSON.parse(entity.json)?.nodes
62
- || JSON.parse(entity.json)?.nodes?.length === 0;
+ || JSON.parse(entity.json)?.nodes?.length !== 0;
63
};
64
65
if (!hasNodes(projectEntity)) {
0 commit comments