Skip to content

Commit

Permalink
Pulling in errant change
Browse files Browse the repository at this point in the history
  • Loading branch information
itinerare committed Oct 6, 2020
1 parent 371d36d commit 7cd76bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Models/Character/Character.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ public function image()
/**
* Get all images associated with the character.
*/
public function images()
public function images($user = null)
{
return $this->hasMany('App\Models\Character\CharacterImage', 'character_id')->images();
return $this->hasMany('App\Models\Character\CharacterImage', 'character_id')->images($user);
}

/**
Expand Down

0 comments on commit 7cd76bf

Please sign in to comment.