Skip to content

Commit

Permalink
bug gix
Browse files Browse the repository at this point in the history
  • Loading branch information
jstolpe committed Jun 14, 2022
1 parent 26ae9f1 commit ceb3ef6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Instagram/Instagram.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ public function setAccessToken( $accessToken ) {
*
* @param string $type type of link after or before.
* @param array $response Instagram api response.
* @param string $endpoint endpoint for the request.
* @param array $params specific request params.
* @return void
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Instagram/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __construct( $config ) {
parent::__construct( $config );

// store the user id
$this->userId = $config['user_id'];
$this->userId = isset( $config['user_id'] ) ? $config['user_id'] : '';
}

/**
Expand Down

0 comments on commit ceb3ef6

Please sign in to comment.