Skip to content

Commit 5704bcd

Browse files
committed
Gateway.setURLをlowercaseに変更
1 parent fa46da3 commit 5704bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/Gateway.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export abstract class Gateway {
5151
* @param url Qiitaのホスト
5252
* @return 何も返しません
5353
*/
54-
public setURL (url: string): void {
54+
public setUrl (url: string): void {
5555
this.url = url;
5656
}
5757

@@ -80,7 +80,7 @@ export abstract class Gateway {
8080
}
8181

8282
if ( !this.url ) {
83-
throw new QiitaURLResolveError('Qiitaのホストが指定されていません。`Qiita.setURL` でAPIのホストを指定してからメソッドを呼び出してください。');
83+
throw new QiitaURLResolveError('Qiitaのホストが指定されていません。`Qiita.setUrl` でAPIのホストを指定してからメソッドを呼び出してください。');
8484
}
8585

8686
if ( this.token ) {

0 commit comments

Comments
 (0)