fix: null fqdn notifications

This commit is contained in:
Andras Bacsai 2023-07-28 12:51:26 +02:00
parent 7f9afa9c46
commit 331b85c57e
3 changed files with 2 additions and 3 deletions

View File

@ -31,7 +31,6 @@ public function __construct(Application $application, string $deployment_uuid, A
$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');

View File

@ -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)
{

View File

@ -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>