@@ -321,13 +321,13 @@ module.exports = [
321321 const endTime = addDays ( dueDate , event . end ) . getTime ( ) ;
322322 return isFormArraySubmittedInWindow ( contact . reports , [ 'pnc_danger_sign_follow_up_baby' ] , startTime , endTime ) ;
323323 } ,
324- priority : function ( contact , report ) {
325- console . warn ( 'CONTACT' , contact ) ;
326- console . warn ( 'REPORT' , report ) ;
327- const score = 10 ;
324+ priority : function ( contact , report , event , dueDate ) {
325+ console . warn ( contact ) ;
326+ console . warn ( event ) ;
327+ console . warn ( dueDate ) ;
328328 return {
329- level : score ,
330- label : getPriorityCategory ( score ) ,
329+ level : 10 ,
330+ label : 'High' ,
331331 } ;
332332 } ,
333333 actions : [
@@ -368,13 +368,13 @@ module.exports = [
368368 const endTime = addDays ( dueDate , event . end + 1 ) . getTime ( ) ;
369369 return isFormArraySubmittedInWindow ( contact . reports , [ 'pnc_danger_sign_follow_up_baby' ] , startTime , endTime ) ;
370370 } ,
371- priority : function ( contact , report ) {
372- console . warn ( 'CONTACT' , contact ) ;
373- console . warn ( 'REPORT' , report ) ;
374- const score = 10 ;
371+ priority : function ( contact , report , event , dueDate ) {
372+ console . warn ( contact ) ;
373+ console . warn ( event ) ;
374+ console . warn ( dueDate ) ;
375375 return {
376- level : score ,
377- label : getPriorityCategory ( score ) ,
376+ level : 10 ,
377+ label : 'High' ,
378378 } ;
379379 } ,
380380 actions : [
0 commit comments