Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Commit

Permalink
fix camel case config path
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissm79 committed Apr 25, 2016
1 parent c7610c6 commit eebe9a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Support/ConnectionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected function getItems($collection, ResolveInfo $info, $name)
*/
protected function getSelectFields(ResolveInfo $info)
{
$camel = config('relay.eloquent.camel_case');
$camel = config('relay.camel_case');

return collect($info->getFieldSelection(4)['edges']['node'])
->reject(function ($value) {
Expand Down
2 changes: 1 addition & 1 deletion src/Support/Definition/EloquentType.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function __construct(Model $model, $name = '')
$this->fields = collect();
$this->hiddenFields = collect($model->getHidden())->flip();
$this->model = $model;
$this->camelCase = config('relay.eloquent.camel_case', false);
$this->camelCase = config('relay.camel_case', false);
}

/**
Expand Down

0 comments on commit eebe9a7

Please sign in to comment.