Skip to content

Commit bd5e551

Browse files
author
Inessa Druzhkova
committed
added NOSONAR justification for ignoring specific code
1 parent 5ec2510 commit bd5e551

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/react/src/actions/dashboardContributionRecord.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const completeFetchingPotentialMatches = createAction(
2222
export const cleanupContributionRecord = createAction(
2323
'CLEANUP_CONTRIBUTION_RECORD',
2424
);
25-
25+
// NOSONAR: justification for ignoring specific code
2626
// TODO: Remove mock data and replace with actual API call as part of https://opensupplyhub.atlassian.net/browse/OSDEV-1347
2727
const eventMockData = {
2828
moderation_id: 1,
@@ -48,6 +48,7 @@ const eventMockData = {
4848
claim_id: 0,
4949
};
5050

51+
// NOSONAR: justification for ignoring specific code
5152
// TODO: Remove mock data and replace with actual API call as part of /v1/production-locations endpoint
5253
const potentialMatchesMockData = [
5354
{
@@ -90,7 +91,6 @@ const potentialMatchesMockData = [
9091
export function fetchModerationEvent(moderationID) {
9192
return async dispatch => {
9293
dispatch(startFetchingModerationEvent());
93-
9494
// TODO: Replace the mock implementation with an actual API call as part of https://opensupplyhub.atlassian.net/browse/OSDEV-1347
9595
return new Promise(resolve => {
9696
setTimeout(() => resolve({ data: eventMockData }), 1000);

0 commit comments

Comments
 (0)