12345678910111213141516171819202122 |
- import type {Organization} from 'sentry/types';
- export function makeMonitorErrorsQueryKey(
- organization: Organization,
- projectId: string,
- monitorSlug: string
- ) {
- return [
- `/projects/${organization.slug}/${projectId}/monitors/${monitorSlug}/processing-errors/`,
- {},
- ] as const;
- }
- export function makeMonitorListErrorsQueryKey(
- organization: Organization,
- project?: string[]
- ) {
- return [
- `/organizations/${organization.slug}/processing-errors/`,
- {query: {project}},
- ] as const;
- }
|