fix: service docs links

This commit is contained in:
Andras Bacsai 2023-10-19 10:50:52 +02:00
parent 166419b13a
commit c1d0cabcfb

View File

@ -50,7 +50,7 @@ public function type()
public function documentation()
{
$services = Cache::get('services', []);
$services = getServiceTemplates();
$service = data_get($services, Str::of($this->name)->beforeLast('-')->value, []);
return data_get($service, 'documentation', config('constants.docs.base_url'));
}