Skip to content

Commit

Permalink
Fix endpoint projects
Browse files Browse the repository at this point in the history
  • Loading branch information
doishub committed Feb 10, 2023
1 parent 6e32e37 commit 99aa8e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Api/Project.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ protected function defaultFields(): self
*/
public function all(): array
{
return $this->get("projects");
return $this->get("admin/projects");
}

/**
Expand All @@ -33,6 +33,6 @@ public function one($projectId): array
{
$this->addFilter("$projectId");

return $this->get("projects");
return $this->get("admin/projects");
}
}

0 comments on commit 99aa8e1

Please sign in to comment.