Skip to content

Commit

Permalink
fix(schemas): update DataHookEventPayload type
Browse files Browse the repository at this point in the history
update DataHookEventPayload type
  • Loading branch information
simeng-li committed May 13, 2024
1 parent 3aa2af9 commit b7a6cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schemas/src/types/hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export type DataHookEventPayload = {
ip?: string;
userAgent?: string;
/** Response body */
body?: Record<string, unknown>;
response?: { body?: Record<string, unknown> };
/** Route params */
params?: Record<string, string>;
/** Route path */
Expand Down

0 comments on commit b7a6cc6

Please sign in to comment.