processingIssues.tsx 302 B

123456789101112
  1. import {Client} from 'sentry/api';
  2. export function fetchProcessingIssues(
  3. api: Client,
  4. orgId: string,
  5. projectIds: string[] | null = null
  6. ) {
  7. return api.requestPromise(`/organizations/${orgId}/processingissues/`, {
  8. method: 'GET',
  9. query: projectIds ? {project: projectIds} : [],
  10. });
  11. }