Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f4dca8a

Browse files
authoredFeb 22, 2024
Merge pull request #11 from bhanwarpsrathore/pradeep/company-method-name-fix
Company method name updates
2 parents d8b5cdd + e0cba99 commit f4dca8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/LabelcampAPI.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ public function getCompanies(string $company_id = '', array $filter = []): array
515515
*
516516
* @return array
517517
*/
518-
public function createCompanie(array $attributes, array $relationships): array {
518+
public function createCompany(array $attributes, array $relationships): array {
519519
$uri = '/companies';
520520

521521
$request_data = $this->getResource('companies', "", $attributes, $relationships);
@@ -536,7 +536,7 @@ public function createCompanie(array $attributes, array $relationships): array {
536536
*
537537
* @return array
538538
*/
539-
public function updateCompanie(string $companie_id, array $attributes, array $relationships): array {
539+
public function updateCompany(string $companie_id, array $attributes, array $relationships): array {
540540
$uri = '/companies/' . $companie_id;
541541

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

0 commit comments

Comments
 (0)
Please sign in to comment.