Fix[InputBic]: Fixed filter #1701

Merged
jon merged 2 commits from Fix-AutoFillBic into dev 2025-04-11 11:38:42 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -20,12 +20,12 @@ const autofillBic = async (iban) => {
if (ibanCountry != 'ES') return;
const filter = { where: { id: bankEntityId.value } };
const filter = { where: { id: bankEntityId } };
const params = { filter: JSON.stringify(filter) };
const { data } = await axios.get(`BankEntities`, { params });
emit('updateBic', data[0].id);
emit('updateBic', data[0]?.id);
};
</script>
<template>