Skip to content

Commit

Permalink
added default logo_url and icon_url attribute to branding
Browse files Browse the repository at this point in the history
  • Loading branch information
roncodes committed Dec 18, 2023
1 parent 59d2334 commit 9dabd44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public static function lookup(string $key, $defaultValue = null)

public static function getBranding()
{
$brandingSettings = ['id' => 1, 'uuid' => 1];
$brandingSettings = ['id' => 1, 'uuid' => 1, 'icon_url' => null, 'logo_url' => null];
$iconUuid = static::where('key', 'branding.icon_uuid')->value('value');
$logoUuid = static::where('key', 'branding.logo_uuid')->value('value');
$defaultTheme = static::where('key', 'branding.default_theme')->value('value');
Expand Down

0 comments on commit 9dabd44

Please sign in to comment.