This was wrong but somehow worked in sqlite, wut

This commit is contained in:
Lance Pioch 2024-06-16 12:30:42 -04:00
parent 738707b251
commit c7bea4f024

View File

@ -36,7 +36,9 @@ class EndpointCollection implements Castable
$value = new Collection($value);
}
return $value->map(fn ($endpoint) => (string) $endpoint);
return [
'ports' => $value->toJson(),
];
}
};
}