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 19e797f commit 999b78dCopy full SHA for 999b78d
1 file changed
app/routes/report/variants.js
@@ -548,7 +548,7 @@ router.route('/set-summary-table/')
548
if (!annotationMatch) {
549
const newAnnotation = {...(annotation.annotations || {})};
550
newAnnotation.rapidReportTableTag = req.body.rapidTable;
551
- const newFlags = req.body.flags;
+ const newFlags = req.body.flags ?? null;
552
try {
553
await db.models.observedVariantAnnotations.update({
554
annotations: newAnnotation,
@@ -568,7 +568,7 @@ router.route('/set-summary-table/')
568
variantId: req.body.variantId,
569
variantType: req.body.variantType,
570
annotations: {rapidReportTableTag: req.body.rapidTable},
571
- flags: req.body.flags,
+ flags: req.body.flags ?? null,
572
reportId: req.report.id,
573
});
574
} catch (error) {
0 commit comments