Skip to content

Commit

Permalink
Hotfix GithubService areUsersAssignable bug (#926)
Browse files Browse the repository at this point in the history
There is a bug with the retrieval of the assignees where not all 
assignees are retrieved, causing unwanted errors to be thrown. 

Let's hotfix this temporarily be removing the errors to be thrown 
and do a proper fix in the next official release.
  • Loading branch information
seanlowjk authored Apr 17, 2022
1 parent 50678cd commit 49cceff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/services/github.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class GithubService {
map((assignables: string[]) =>
assignees.forEach((assignee) => {
if (!assignables.includes(assignee)) {
throw new Error(`Cannot assign ${assignee} to the issue. Please check if ${assignee} is authorized.`);
// throw new Error(`Cannot assign ${assignee} to the issue. Please check if ${assignee} is authorized.`);
}
})
)
Expand Down

0 comments on commit 49cceff

Please sign in to comment.