Skip to content

Commit

Permalink
convert to string
Browse files Browse the repository at this point in the history
  • Loading branch information
LWangllix committed Dec 6, 2023
1 parent c533efe commit 8a53a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/publishing.fishStockings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default class PublishingFishStockingsService extends moleculer.Service {
condition: `"location"::jsonb->>'cadastral_id' IN (${cadastralIds
.map((_: any) => '?')
.join(',')})`,
bindings: cadastralIds.map((id: string) => Number(id)),
bindings: cadastralIds.map((id: string) => `${id}`),
},
};
}
Expand Down

0 comments on commit 8a53a42

Please sign in to comment.