Skip to content

Commit

Permalink
ensure don't send duplicated vessel group search ids
Browse files Browse the repository at this point in the history
  • Loading branch information
j8seangel committed Oct 18, 2024
1 parent fe63694 commit 929cfa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ const searchVesselsInVesselGroup = async ({
const where = getAdvancedSearchQuery([
{
key: idField === 'vesselId' ? 'id' : idField === 'mmsi' ? 'ssvid' : idField,
value: ids,
value: uniq(ids),
},
])
const searchResults = await fetchAllSearchVessels({
Expand Down

0 comments on commit 929cfa0

Please sign in to comment.