Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hadian90 committed Aug 26, 2019
1 parent 8b22562 commit 84bad8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/Traits/CategoryTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function forCategory($id, array $query = null)
private function base()
{
$arr = explode('/', $this->endpoint);
return $arr[2];
return '/' . $arr[2];
}
}

0 comments on commit 84bad8d

Please sign in to comment.