Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nilportugues/laravel5-jsonapi
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Jul 1, 2016
2 parents 5f51675 + 14631da commit fad2f46
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -128,7 +128,7 @@ protected function createResourceCallable()
}

if (!empty($data['id'])) {
$model->setAttribute($model->getKeyName(), $values['id']);
$model->setAttribute($model->getKeyName(), $data['id']);
}

try {
Expand Down

0 comments on commit fad2f46

Please sign in to comment.