Skip to content

Commit 99a4fdd

Browse files
committed
Fix for getting a single project
1 parent c07aa3e commit 99a4fdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Sifter/Projects.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ public function all()
2424
public function get($id)
2525
{
2626
$endpoint = '/api/projects/' . $id;
27-
return new Project(Request::make($endpoint));
27+
$project = Request::make($endpoint);
28+
return new Project($project['project']);
2829
}
2930

3031
}

0 commit comments

Comments
 (0)