associatedemployers / safely-api

0 stars 0 forks source link

[Bug] Wrong company on hub registration #129

Closed Evilscaught closed 7 months ago

Evilscaught commented 7 months ago

Closes #128

Action Requesting to merge branch bug/#128-wrong-company-on-hub-registration into master

Description • Updates the aggregate in bookedResources to persist unique company names and registrant names belonging to the hub-registrations. • Fetches the company belonging to the company (ID Property) and set's the companyName on the hub-registration.

How to Reproduce this Bug See #128

Updated aggregate file for usage in MongoDB Compass: updated_aggregate.json

Images The unique company names and registrants are now preserved with hub-registrations on the front end

Screenshot 2024-03-22 at 11 41 48 AM