diff --git a/app/Services/CharacterManager.php b/app/Services/CharacterManager.php index df3b255ffb..0f9c16cf81 100644 --- a/app/Services/CharacterManager.php +++ b/app/Services/CharacterManager.php @@ -370,9 +370,10 @@ public function createLog($senderId, $senderAlias, $recipientId, $recipientAlias * @param array $data * @param \App\Models\Character\Character $character * @param \App\Models\User\User $user + * @param \App\Models\User\User $staff * @return \App\Models\Character\Character|bool */ - public function createImage($data, $character, $user) + public function createImage($data, $character, $user, $staff) { DB::beginTransaction(); @@ -409,6 +410,9 @@ public function createImage($data, $character, $user) Notifications::create('IMAGE_UPLOAD', $character->user, [ 'character_url' => $character->url, 'character_slug' => $character->slug, + 'character_name' => $character->name, + 'sender_url' => $staff->url, + 'sender_name' => $staff->name ]); }