This commit is contained in:
Kevin Adametz 2020-01-02 19:22:30 +01:00
parent 1ad3f80bb0
commit 80dc93b6b8
39 changed files with 1057 additions and 80 deletions

View file

@ -18,7 +18,7 @@ class UserRepository extends BaseRepository {
public function update($data)
{
if($data['user_id'] == "new" || $data['user_id'] == 0){
if($data['user_id'] === "new" || $data['user_id'] == 0){
$this->model = User::create([
'email' => $data['email'],