Skip to content

Commit

Permalink
rename type
Browse files Browse the repository at this point in the history
  • Loading branch information
mkzie2 committed Dec 3, 2024
1 parent e2fa2de commit 1f14d11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ type RequestMoneyInformation = {
transactionParams: RequestMoneyTransactionParams;
};

type GetMoneyRequestInformation = {
type MoneyRequestInformationParams = {
parentChatReport: OnyxEntry<OnyxTypes.Report>;
transactionParams: RequestMoneyTransactionParams;
participantParams: RequestMoneyParticipantParams;
Expand Down Expand Up @@ -2053,7 +2053,7 @@ function getSendInvoiceInformation(
* Gathers all the data needed to submit an expense. It attempts to find existing reports, iouReports, and receipts. If it doesn't find them, then
* it creates optimistic versions of them and uses those instead
*/
function getMoneyRequestInformation(moneyRequestInformation: GetMoneyRequestInformation): MoneyRequestInformation {
function getMoneyRequestInformation(moneyRequestInformation: MoneyRequestInformationParams): MoneyRequestInformation {
const {parentChatReport, transactionParams, participantParams, policyParams = {}, existingTransaction, existingTransactionID, moneyRequestReportID = ''} = moneyRequestInformation;
const {payeeAccountID = userAccountID, payeeEmail = currentUserEmail, participant} = participantParams;
const {policy, policyCategories, policyTagList} = policyParams;
Expand Down

0 comments on commit 1f14d11

Please sign in to comment.