From 49cceff89789a239a1bfe7f26ed0c6ed01d4387a Mon Sep 17 00:00:00 2001 From: "Low Jun Kai, Sean" <42912708+seanlowjk@users.noreply.github.com> Date: Sun, 17 Apr 2022 14:12:19 +0800 Subject: [PATCH] Hotfix GithubService areUsersAssignable bug (#926) 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. --- src/app/core/services/github.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/core/services/github.service.ts b/src/app/core/services/github.service.ts index 50071ae1b..15c8acc6c 100644 --- a/src/app/core/services/github.service.ts +++ b/src/app/core/services/github.service.ts @@ -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.`); } }) )