diff --git a/src/libs/DebugUtils.ts b/src/libs/DebugUtils.ts index 9c27009b036..a8cd91599bf 100644 --- a/src/libs/DebugUtils.ts +++ b/src/libs/DebugUtils.ts @@ -469,6 +469,8 @@ function validateReportDraftProperty(key: keyof Report, value: string) { case 'iouReportID': case 'preexistingReportID': case 'private_isArchived': + case 'state': + case 'welcomeMessage': return validateString(value); case 'hasOutstandingChildRequest': case 'hasOutstandingChildTask': diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index 9d4aa640aeb..f803386cb64 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -66,7 +66,7 @@ import type * as OnyxTypes from '@src/types/onyx'; import type {Attendee, Participant, Split} from '@src/types/onyx/IOU'; import type {ErrorFields, Errors} from '@src/types/onyx/OnyxCommon'; import type {PaymentMethodType} from '@src/types/onyx/OriginalMessage'; -import {InvoiceReceiver, InvoiceReceiverType} from '@src/types/onyx/Report'; +import type {InvoiceReceiver, InvoiceReceiverType} from '@src/types/onyx/Report'; import type ReportAction from '@src/types/onyx/ReportAction'; import type {OnyxData} from '@src/types/onyx/Request'; import type {SearchPolicy, SearchReport, SearchTransaction} from '@src/types/onyx/SearchResults';