fix static build

This commit is contained in:
Saeed Vaziry
2024-10-13 17:55:48 +02:00
parent 37f502d6dd
commit 321465d3e2
11 changed files with 8 additions and 36 deletions

View File

@ -16,7 +16,6 @@
* @property ?string $url
* @property string $access_token
* @property ?int $project_id
* @property string $image_url
*/
class SourceControl extends AbstractModel
{
@ -67,9 +66,4 @@ public static function getByProjectId(int $projectId): Builder
$query->where('project_id', $projectId)->orWhereNull('project_id');
});
}
public function getImageUrlAttribute(): string
{
return url('/static/images/'.$this->provider.'.svg');
}
}