Skip to content

Conversation

Vinnl
Copy link
Collaborator

@Vinnl Vinnl commented Sep 25, 2025

References:

Jira: MNTOR-4981

@Vinnl Vinnl self-assigned this Sep 25, 2025
@Vinnl Vinnl added the Review: S Code review time: 30 mins to 1 hour label Sep 25, 2025
manually_resolved: boolean;
broker_status: DataBrokerRemovalStatus;
data_broker: string;
source: MoscaryData["ScanResult"]["source"];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to run the schema change first before this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The migration to change the schema is part of this PR (and of the same commit that modifies knex-tables, so that it's easy to find).

? adjustedScanData.scan.onerep_scan_status === "in_progress"
: adjustedScanData.scan?.status === "in_progress") &&
props.scanCount === 1;
adjustedScanData.scan?.onerep_scan_status === "in_progress";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we no longer need props.scanCount === 1?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow, very good find! I must have missed the closing bracket for the ternary, and thought the && was part of the : branch. This would've been annoying to debug later. Fixed in c2ee90f.

@Vinnl Vinnl force-pushed the MNTOR-4981-remove-moscary-references branch from c2ee90f to ae94ba8 Compare September 30, 2025 11:21
@Vinnl Vinnl merged commit 4924161 into main Sep 30, 2025
18 checks passed
@Vinnl Vinnl deleted the MNTOR-4981-remove-moscary-references branch September 30, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review: S Code review time: 30 mins to 1 hour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants