Skip to content

[HOLD for payment 2024-04-15] Return the approverAccountID and reimburserAccountID to Onyx #39423

Description

@luacmartins

Problem

Coming from #37391 (review), we key personalDetails by accountID, but policy.approver and poliyc.reimburserEmail sends the approver email data back to Onyx, which leads to an inefficient lookup for personal details.

Why is this important

Affects performance

Solution

Send the approverAccountID and reimburserAccountID to Onyx so we can use that to lookup personal details instead of the approver email. Once that's done, we should remove getPersonalDetailByEmail

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01781c07caff758274
  • Upwork Job ID: 1775199977020665856
  • Last Price Increase: 2024-04-02

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions