updates
This commit is contained in:
@@ -12,7 +12,8 @@ class Change extends Component
|
||||
protected $rules = [
|
||||
'private_key.name' => 'required|string',
|
||||
'private_key.description' => 'nullable|string',
|
||||
'private_key.private_key' => 'required|string'
|
||||
'private_key.private_key' => 'required|string',
|
||||
'private_key.is_git_related' => 'nullable|boolean'
|
||||
];
|
||||
protected $validationAttributes = [
|
||||
'private_key.name' => 'name',
|
||||
|
||||
@@ -46,6 +46,7 @@ class Email extends Component
|
||||
public function test_email()
|
||||
{
|
||||
Notification::send($this->settings, new TestEmail);
|
||||
$this->emit('success', 'Test email sent.');
|
||||
}
|
||||
public function submit()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user