BitBucket の PHP Lib を使用してリポジトリを作成しています。
$repo = new \Bitbucket\API\Repositories\Repository();
$repo->setCredentials( new \Bitbucket\API\Authentication\Basic( $this->username, $this->password ) );
$slug = self::generateSlug( $domainName );
return $repo->create( $this->username, $slug, array(
'name' => $domainName,
'scm' => 'git',
'description' => "Project: {$domainName}",
'language' => 'php',
'is_private' => true,
'forking_policy' => 'no_public_forks',
));
しかし、私が戻ってきたのは'NoneType' object has no attribute 'pk'
誰もこれに遭遇したことがありますか?
よろしく