unitaryfund/metriq-app

Default task for result inserts as null

Closed this issue · 0 comments

I've run into a case where, if I try to add a new result to the "VQE" submission, with the default "VQE" task, then the task is actually inserted as null, for the result document. This probably needs a a view update, in the submission detail view, to correctly insert the default task ObjectId. The API should also reject the result insertion, if it lacks either a task or a method.