Skip to content

[Finance Redesign] - Update getAllVendors Endpoint #3151

@dreifusjack

Description

@dreifusjack

Description

We have recently made schema changes to the Vendor model. Now the getAllVendors endpoint needs to be updated such that it includes the following fields: (all previously included fields), reimbursementRequests, username, password, discountCode, 2fa contact, notes, addedByUser.

Acceptance Criteria

getAllVendors endpoint has been updated to include relevant Vendor model fields.

Proposed Solution

  • Update the vendor transformer to include the fields above
  • Update the vendor type, and Prisma.VendorGetPayload

Mocks

No response

Metadata

Metadata

Assignees

Labels

back-endstaleHasn't been updated in a while

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions