Skip to content

Commit

Permalink
instagram
Browse files Browse the repository at this point in the history
  • Loading branch information
edbizarro committed May 2, 2019
1 parent 49de4da commit 9c8694a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entities/InstagramAccounts.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ class InstagramAccounts
* @throws \Edbizarro\LaravelFacebookAds\Exceptions\MissingEntityFormatter
* @see https://developers.facebook.com/docs/marketing-api/guides/instagramads
*/
public function all(array $fields, $accountId): Collection
public function all(array $fields, string $accountId): Collection
{
return $this->format(
(new FbAdAccount($accountId))->getInstagramAccounts($fields)
(new FbAdAccount)->setId($accountId)->getInstagramAccounts($fields)
);
}

Expand Down

0 comments on commit 9c8694a

Please sign in to comment.