fix: fixed filter
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Jon Elias 2025-04-11 12:03:24 +02:00
parent ce1aa3fb1b
commit 19fde32006
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>