@@ -261,6 +261,7 @@ function updateMoneyRequestReimbursable({
261261 currentUserEmailParam,
262262 isASAPSubmitBetaEnabled,
263263 parentReportNextStep,
264+ isOffline,
264265 delegateAccountID,
265266} : {
266267 transactionID : string | undefined ;
@@ -274,6 +275,7 @@ function updateMoneyRequestReimbursable({
274275 currentUserEmailParam : string ;
275276 isASAPSubmitBetaEnabled : boolean ;
276277 parentReportNextStep : OnyxEntry < OnyxTypes . ReportNextStepDeprecated > ;
278+ isOffline : boolean ;
277279 delegateAccountID : number | undefined ;
278280} ) {
279281 if ( ! transactionID || ! transactionThreadReport ?. reportID ) {
@@ -296,6 +298,7 @@ function updateMoneyRequestReimbursable({
296298 currentUserEmailParam,
297299 isASAPSubmitBetaEnabled,
298300 iouReportNextStep : parentReportNextStep ,
301+ isOffline,
299302 delegateAccountID,
300303 } ) ;
301304 API . write ( WRITE_COMMANDS . UPDATE_MONEY_REQUEST_REIMBURSABLE , params , onyxData ) ;
@@ -314,6 +317,7 @@ function updateMoneyRequestMerchant({
314317 currentUserEmailParam,
315318 isASAPSubmitBetaEnabled,
316319 parentReportNextStep,
320+ isOffline,
317321 hash,
318322 delegateAccountID,
319323} : {
@@ -328,6 +332,7 @@ function updateMoneyRequestMerchant({
328332 currentUserEmailParam : string ;
329333 isASAPSubmitBetaEnabled : boolean ;
330334 parentReportNextStep : OnyxEntry < OnyxTypes . ReportNextStepDeprecated > ;
335+ isOffline : boolean ;
331336 hash ?: number ;
332337 delegateAccountID : number | undefined ;
333338} ) {
@@ -353,6 +358,7 @@ function updateMoneyRequestMerchant({
353358 currentUserEmailParam,
354359 isASAPSubmitBetaEnabled,
355360 iouReportNextStep : parentReportNextStep ,
361+ isOffline,
356362 hash,
357363 delegateAccountID,
358364 } ) ;
@@ -375,6 +381,7 @@ function updateMoneyRequestAttendees({
375381 currentUserEmailParam,
376382 isASAPSubmitBetaEnabled,
377383 parentReportNextStep,
384+ isOffline,
378385 delegateAccountID,
379386} : {
380387 transactionID : string ;
@@ -389,6 +396,7 @@ function updateMoneyRequestAttendees({
389396 currentUserEmailParam : string ;
390397 isASAPSubmitBetaEnabled : boolean ;
391398 parentReportNextStep : OnyxEntry < OnyxTypes . ReportNextStepDeprecated > ;
399+ isOffline : boolean ;
392400 delegateAccountID : number | undefined ;
393401} ) {
394402 const transactionChanges : TransactionChanges = {
@@ -409,6 +417,7 @@ function updateMoneyRequestAttendees({
409417 currentUserEmailParam,
410418 isASAPSubmitBetaEnabled,
411419 iouReportNextStep : parentReportNextStep ,
420+ isOffline,
412421 delegateAccountID,
413422 } ) ;
414423 const { params, onyxData} = data ;
@@ -510,6 +519,7 @@ type UpdateMoneyRequestTagParams = {
510519 isASAPSubmitBetaEnabled : boolean ;
511520 hash ?: number ;
512521 parentReportNextStep : OnyxEntry < OnyxTypes . ReportNextStepDeprecated > ;
522+ isOffline : boolean ;
513523 delegateAccountID : number | undefined ;
514524} ;
515525
@@ -528,6 +538,7 @@ function updateMoneyRequestTag({
528538 isASAPSubmitBetaEnabled,
529539 hash,
530540 parentReportNextStep,
541+ isOffline,
531542 delegateAccountID,
532543} : UpdateMoneyRequestTagParams ) {
533544 const transactionChanges : TransactionChanges = {
@@ -549,6 +560,7 @@ function updateMoneyRequestTag({
549560 currentUserEmailParam,
550561 isASAPSubmitBetaEnabled,
551562 iouReportNextStep : parentReportNextStep ,
563+ isOffline,
552564 delegateAccountID,
553565 } ) ;
554566 API . write ( WRITE_COMMANDS . UPDATE_MONEY_REQUEST_TAG , params , onyxData ) ;
0 commit comments