fix: ensure unique services mapping when creating api payload

This commit is contained in:
Björn Fromme committed 2026-03-16 12:02:28 +01:00
1 parent 875943e4da
commit baa4609102
3 files changed
+24 -14

No files matched your search

@@ -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);