We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e117aa7 commit 05cce89Copy full SHA for 05cce89
src/components/core/handler/ddoHandler.ts
@@ -848,9 +848,12 @@ export class ValidateDDOHandler extends CommandHandler {
848
status: { httpStatus: 400, error: `Validation error: ${validation[1]}` }
849
}
850
851
- const signature = await getValidationSignature(JSON.stringify(task.ddo))
852
return {
853
- stream: shouldSign ? Readable.from(JSON.stringify(signature)) : null,
+ stream: shouldSign
+ ? Readable.from(
854
+ JSON.stringify(await getValidationSignature(JSON.stringify(task.ddo)))
855
+ )
856
+ : null,
857
status: { httpStatus: 200 }
858
859
} catch (error) {
0 commit comments