Show correct icon & color for GitHub draft PR (#9063)

This commit is contained in:
Hemachandar
2025-04-26 03:07:54 +05:30
committed by GitHub
parent 4bb9ac40c7
commit 9274f56ef6
6 changed files with 26 additions and 43 deletions

View File

@@ -461,7 +461,7 @@ export type UnfurlResponse = {
/** Pull Request author */
author: { name: string; avatarUrl: string };
/** Pull Request status */
state: { name: string; color: string };
state: { name: string; color: string; draft?: boolean };
/** Pull Request creation time */
createdAt: string;
};