fix: ensure unique services mapping when creating api payload

This commit is contained in:
Björn Fromme
2026-01-16 14:22:17 +01:00
parent 054505d853
commit 3e6533829c
3 changed files with 24 additions and 14 deletions
@@ -126,6 +126,7 @@ class BookingFingerprintService
private function normalizeServiceArray(array $services): array
{
$ids = array_map(fn ($s) => $s->id, $services);
$ids = array_unique($ids);
sort($ids);
return array_values($ids);