fix: null fqdn notifications
This commit is contained in:
parent
7f9afa9c46
commit
331b85c57e
@ -31,7 +31,6 @@ class DeploymentFailed extends Notification implements ShouldQueue
|
||||
$this->application = $application;
|
||||
$this->deployment_uuid = $deployment_uuid;
|
||||
$this->preview = $preview;
|
||||
|
||||
$this->application_name = data_get($application, 'name');
|
||||
$this->project_uuid = data_get($application, 'environment.project.uuid');
|
||||
$this->environment_name = data_get($application, 'environment.name');
|
||||
|
@ -24,7 +24,7 @@ class DeploymentSuccess extends Notification implements ShouldQueue
|
||||
public string|null $deployment_url = null;
|
||||
public string $project_uuid;
|
||||
public string $environment_name;
|
||||
public string $fqdn;
|
||||
public string|null $fqdn;
|
||||
|
||||
public function __construct(Application $application, string $deployment_uuid, ApplicationPreview|null $preview = null)
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
<div class="w-48">
|
||||
<x-forms.checkbox instantSave id="model.discord_enabled" label="Notification Enabled" />
|
||||
</div>
|
||||
<x-forms.input type="string"
|
||||
<x-forms.input type="password"
|
||||
helper="Generate a webhook in Discord.<br>Example: https://discord.com/api/webhooks/...." required
|
||||
id="model.discord_webhook_url" label="Webhook" />
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user