Skip to content

Commit

Permalink
fix: add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adelkahomolova committed Dec 8, 2019
1 parent 9c8bba4 commit 26ea99f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/bitbucket/BitbucketService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class BitbucketService implements IVCSService {

const ownerUrl = `www.bitbucket.org/${owner}`;

//Bitbucket use two types of accounts - user and team. The request for users uuid fails if it is a team account.
//Bitbucket uses two types of accounts - user and team. The request for users' uuid fails if it is a team account.
let ownerId: string;
try {
ownerId = `${(await this.client.users.get({ username: owner })).data.uuid}`;
Expand Down Expand Up @@ -154,6 +154,7 @@ export class BitbucketService implements IVCSService {
};

const ownerUrl = `www.bitbucket.org/${owner}`;
//Bitbucket use two types of accounts - user and team. The request for users uuid fails if it is a team account.
let ownerId = '';
try {
ownerId = `${(await this.client.users.get({ username: owner })).data.uuid}`;
Expand Down

0 comments on commit 26ea99f

Please sign in to comment.