Skip to content

Commit d139dc9

Browse files
Fix extra fields on findings not saving
The extra field was being set in the wrong place in the gql query data.
1 parent 37f05c2 commit d139dc9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

javascript/src/collab_server/handlers/finding.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ const FindingHandler = simpleModelHandler(
110110
findingGuidance: yjsToHtml(
111111
doc.get("findingGuidance", Y.XmlFragment)
112112
),
113+
extraFields,
113114
},
114115
tags: yjsToTags(doc.get("tags", Y.Map<boolean>)),
115-
extraFields,
116116
};
117117
}
118118
);

javascript/src/collab_server/handlers/report_finding_link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ const ReportFindingLinkHandler = simpleModelHandler(
118118
affectedEntities: yjsToHtml(
119119
doc.get("affectedEntities", Y.XmlFragment)
120120
),
121+
extraFields,
121122
},
122123
tags: yjsToTags(doc.get("tags", Y.Map<boolean>)),
123-
extraFields,
124124
};
125125
}
126126
);

0 commit comments

Comments
 (0)