sentryAppWebhookRequest.js 338 B

123456789101112131415
  1. export function SentryAppWebhookRequest(params = {}) {
  2. return {
  3. webhookUrl: 'https://example.com/webhook',
  4. sentryAppSlug: 'sample-app',
  5. eventType: 'issue.assigned',
  6. date: '2019-09-25T23:54:54.440Z',
  7. organization: {
  8. slug: 'test-org',
  9. name: 'Test Org',
  10. },
  11. responseCode: 400,
  12. ...params,
  13. };
  14. }