File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export const completeFetchingPotentialMatches = createAction(
2222export 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
2727const 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
5253const potentialMatchesMockData = [
5354 {
@@ -90,7 +91,6 @@ const potentialMatchesMockData = [
9091export 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 ) ;
You can’t perform that action at this time.
0 commit comments