fix: add agencyModeFk to selectedClient #1560

Merged
jsegarra merged 8 commits from hotfix_fixGetAgenciesTicketList into master 2025-03-06 00:30:22 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3695b76fbd - Show all commits

View File

@ -66,7 +66,7 @@ describe('getAgencies', () => {
it('should return options and agency when default agency is found', async () => {
const formData = { warehouseId: '123', addressId: '456', landed: 'true' };
const client = { defaultAddress: { agencyModeFk: 'Agency1' } };
const client = { agencyModeFk: 'Agency1' };
const { options, agency } = await getAgencies(formData, client);