From c49327c99824a08d92f3b9adb8b574fc45061030 Mon Sep 17 00:00:00 2001 From: Jason Crocker Date: Wed, 25 Mar 2026 09:25:10 -0400 Subject: [PATCH] Align Review types with API schema The API renamed the `comment` field to `feedback` on the review entity. Update the `Review` and `WebhookReviewData` interfaces to match. --- src/types/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/index.ts b/src/types/index.ts index e1671c9..780d0d6 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -73,7 +73,7 @@ export interface Review { reviewer_id: string | null; result: string[]; data: Record; - comment: string | null; + feedback: string | null; created_at: string; } @@ -136,7 +136,7 @@ export interface WebhookQueueData { export interface WebhookReviewData { result: string[]; data: Record; - comment: string | null; + feedback: string | null; reviewer: { name: string; type: string }; created_at: string; }