Skip to content

Commit

Permalink
FAI-6939 - Fix webhook event status body (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjwooo authored Jul 21, 2023
1 parent f8016bb commit e74df9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ export interface WebhookEventStatus {
webhookId: string;
eventId: string;
status: string;
error?: {message: string; details: any};
error?: string;
}
2 changes: 1 addition & 1 deletion test/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ describe('client', () => {
webhookId: 'testWebhookId',
eventId: 'testEventId',
status: 'error',
error: {message: 'error message', details: {detail1: 'abc'}},
error: 'error message',
});
mock.done();
});
Expand Down

0 comments on commit e74df9e

Please sign in to comment.