Skip to content

Commit

Permalink
Merge pull request #11 from bhanwarpsrathore/pradeep/company-method-n…
Browse files Browse the repository at this point in the history
…ame-fix

Company method name updates
  • Loading branch information
bhanwarpsrathore authored Feb 22, 2024
2 parents d8b5cdd + e0cba99 commit f4dca8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LabelcampAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ public function getCompanies(string $company_id = '', array $filter = []): array
*
* @return array
*/
public function createCompanie(array $attributes, array $relationships): array {
public function createCompany(array $attributes, array $relationships): array {
$uri = '/companies';

$request_data = $this->getResource('companies', "", $attributes, $relationships);
Expand All @@ -536,7 +536,7 @@ public function createCompanie(array $attributes, array $relationships): array {
*
* @return array
*/
public function updateCompanie(string $companie_id, array $attributes, array $relationships): array {
public function updateCompany(string $companie_id, array $attributes, array $relationships): array {
$uri = '/companies/' . $companie_id;

$request_data = $this->getResource('companies', $companie_id, $attributes, $relationships);
Expand Down

0 comments on commit f4dca8a

Please sign in to comment.