Skip to content

Commit

Permalink
Merge pull request #285 from forkgroup/patch-1
Browse files Browse the repository at this point in the history
Fixed  Access level to Hanson\Vbot\Contact\Groups::add()
  • Loading branch information
Hanson committed Mar 23, 2019
2 parents ff8d11a + 12060a3 commit 6ad8834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contact/Groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function setGroupName($group, $name)
*
* @return bool
*/
private function add($username)
public function add($username)
{
$result = $this->vbot->http->json(sprintf('%s/webwxbatchgetcontact?type=ex&r=%s&pass_ticket=%s', $this->vbot->config['server.uri.base'], time(), $this->vbot->config['server.passTicket']), [
'Count' => 1,
Expand Down

0 comments on commit 6ad8834

Please sign in to comment.