chore: fix typo
This commit is contained in:
parent
c995819ed3
commit
4428b95a65
3 changed files with 3 additions and 3 deletions
|
|
@ -81,7 +81,7 @@ public static function get()
|
||||||
return InstanceSettings::findOrFail(0);
|
return InstanceSettings::findOrFail(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRecepients($notification)
|
public function getRecipients($notification)
|
||||||
{
|
{
|
||||||
$recipients = data_get($notification, 'emails', null);
|
$recipients = data_get($notification, 'emails', null);
|
||||||
if (is_null($recipients) || $recipients === '') {
|
if (is_null($recipients) || $recipients === '') {
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ public function teams()
|
||||||
return $this->belongsToMany(Team::class)->withPivot('role');
|
return $this->belongsToMany(Team::class)->withPivot('role');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getRecepients($notification)
|
public function getRecipients($notification)
|
||||||
{
|
{
|
||||||
return $this->email;
|
return $this->email;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@
|
||||||
|
|
||||||
interface SendsEmail
|
interface SendsEmail
|
||||||
{
|
{
|
||||||
public function getRecepients($notification);
|
public function getRecipients($notification);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue