Skip to content

Commit 0700a30

Browse files
authored
Update chatwork.js
- ChatWork API Version from v1 to v2
1 parent 8707831 commit 0700a30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/chatwork.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/*!
2-
* ChatWork - Chrome JavaScript SDK for ChatWork API v1 Preview
2+
* ChatWork - Chrome JavaScript SDK for ChatWork API v2 Preview
33
*
4-
* Copyright 2013-2014, Tetsuwo OISHI.
4+
* Copyright 2013-2017, Tetsuwo OISHI.
55
* Dual license under the MIT license.
66
* http://tetsuwo.tumblr.com
77
*
8-
* Version: 0.0.1
8+
* Version: 2.0.0
99
* Date: 2013-11-29
1010
*/
1111

@@ -19,7 +19,7 @@ function ChatWork(param) {
1919
* @param {object} param
2020
*/
2121
ChatWork.prototype.initialize = function(param) {
22-
this.apiBaseUrl = 'https://api.chatwork.com/v1';
22+
this.apiBaseUrl = 'https://api.chatwork.com/v2';
2323
this.url = 'https://chatwork.com';
2424
this.name = '_chatwork';
2525
this.times = 0;

0 commit comments

Comments
 (0)