Skip to content

Commit 35debc5

Browse files
committed
Qiita.updateItemの引数の型を修正
1 parent f6454b2 commit 35debc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/Qiita.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export class Qiita extends Gateway {
490490
* @param options.title 投稿のタイトル
491491
* @return 投稿
492492
*/
493-
public updateItem = (item_id: string, options: options.CreateItemOptions) => {
493+
public updateItem = (item_id: string, options: options.UpdateItemOptions) => {
494494
return this.patch<Item>(`${this.url}${this.version}/items/${item_id}`, options);
495495
}
496496

0 commit comments

Comments
 (0)