Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dos1 committed Sep 7, 2018
1 parent f775db8 commit 0f7b305
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Roster.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ public static function saveMany(array $rosters)
'updated_at' => $now,
], $data);
})->all();

return Roster::insert($rosters);
foreach ($rosters as $roster) {
Roster::insert($roster);
}
}

public function getSearchTerms()
Expand Down

0 comments on commit 0f7b305

Please sign in to comment.