Skip to content

Commit

Permalink
feat(main): added company id to jobs trait
Browse files Browse the repository at this point in the history
  • Loading branch information
thomtijdink committed May 14, 2024
1 parent 1319af0 commit 3dfeea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/HasObjectRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

trait HasObjectRequests
{
public function jobs(): ObjectRequest
public function jobs(int $companyId): ObjectRequest
{
return new ObjectRequest($this, '/jobs');
return new ObjectRequest($this, "/$companyId/jobs");
}
}

0 comments on commit 3dfeea4

Please sign in to comment.