This commit is contained in:
parent
b03fb6ab51
commit
7e97b8a8f5
@ -23,7 +23,15 @@ class GitlabService {
|
||||
* @param {string} authKey - 用于授权的密钥。
|
||||
* @param {string} requestId - 请求 ID。
|
||||
*/
|
||||
constructor(baseUrl: string, authKey: string, requestId: string) {
|
||||
constructor({
|
||||
baseUrl = "",
|
||||
authKey = "",
|
||||
requestId = "",
|
||||
}: {
|
||||
baseUrl: string
|
||||
authKey: string
|
||||
requestId: string
|
||||
}) {
|
||||
this.badge = new Badge(baseUrl, authKey, requestId)
|
||||
this.commit = new Commit(baseUrl, authKey, requestId)
|
||||
this.discussions = new Discussions(baseUrl, authKey, requestId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user