Skip to content

Commit 9ee90df

Browse files
authored
allow no dataset initialize (#966)
1 parent 4544b33 commit 9ee90df

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/components/httpRoutes/compute.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,6 @@ computeRoutes.post(`${SERVICES_API_BASE_PATH}/initializeCompute`, async (req, re
281281
return
282282
}
283283
}
284-
if (!body.algorithm.documentId) {
285-
res.status(400).send('Missing algorithm did')
286-
return
287-
}
288284
body.command = PROTOCOL_COMMANDS.COMPUTE_INITIALIZE
289285
const result = await new ComputeInitializeHandler(req.oceanNode).handle(body)
290286
if (result.stream) {

0 commit comments

Comments
 (0)