ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: realtime канал карточек задач
This commit is contained in:
@@ -80,7 +80,7 @@ export class IssueService extends APIService {
|
||||
async getIssues(
|
||||
workspaceSlug: string,
|
||||
projectId: string,
|
||||
queries?: Partial<Record<TIssueParams, string | boolean>>,
|
||||
queries?: Partial<Record<TIssueParams, string | boolean>> | Record<string, string | boolean>,
|
||||
config = {}
|
||||
): Promise<TIssuesResponse> {
|
||||
return this.getIssuesFromServer(workspaceSlug, projectId, queries, config);
|
||||
@@ -126,9 +126,14 @@ export class IssueService extends APIService {
|
||||
});
|
||||
}
|
||||
|
||||
async retrieveIssues(workspaceSlug: string, projectId: string, issueIds: string[]): Promise<TIssue[]> {
|
||||
async retrieveIssues(
|
||||
workspaceSlug: string,
|
||||
projectId: string,
|
||||
issueIds: string[],
|
||||
queries?: Record<string, string | boolean>
|
||||
): Promise<TIssue[]> {
|
||||
return this.get(`/api/workspaces/${workspaceSlug}/projects/${projectId}/${this.serviceType}/list/`, {
|
||||
params: { issues: issueIds.join(",") },
|
||||
params: { ...queries, issues: issueIds.join(",") },
|
||||
})
|
||||
.then(async (response) => response?.data)
|
||||
.catch((error) => {
|
||||
|
||||
Reference in New Issue
Block a user