diff --git a/frontend/src/components/NewTicketModal/index.js b/frontend/src/components/NewTicketModal/index.js index 4ff67f7..0851294 100644 --- a/frontend/src/components/NewTicketModal/index.js +++ b/frontend/src/components/NewTicketModal/index.js @@ -45,7 +45,7 @@ const NewTicketModal = ({ modalOpen, onClose }) => { const fetchContacts = async () => { try { const { data } = await api.get("contacts", { - params: { searchParam }, + params: { searchParam, userId: user.id }, }); setOptions(data.contacts); setLoading(false);