Skip to content

Commit a51316f

Browse files
committed
resolve comments
1 parent e5be8ad commit a51316f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/sdk/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ export class MermaidChart {
334334

335335
/**
336336
* Suggests a pull request title and body (markdown) from a before/after diagram diff (Mermaid AI).
337-
* The response also include `branchName` and `commitMessage`.
337+
* The response also includes `branchName` and `commitMessage`.
338338
*
339339
* @param request - `originalDiagram` and `editedDiagram` only
340340
* @throws {@link AICreditsLimitExceededError} if credits limit exceeded (HTTP 402)

packages/sdk/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ export interface PrSummaryRequest {
110110
export interface PrSummaryResponse {
111111
title: string;
112112
description: string;
113-
branchName?: string;
114-
commitMessage?: string;
113+
branchName: string;
114+
commitMessage: string;
115115
}
116116

117117
/**

0 commit comments

Comments
 (0)