processingIssues.tsx 307 B

123456789101112
  1. import type {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. }