fix(net-tool): 更新 getNodeInfo 方法以使用新的返回类型 WikiNodeRes
All checks were successful
/ release (push) Successful in 25s
All checks were successful
/ release (push) Successful in 25s
This commit is contained in:
parent
fc27df9caf
commit
d6120f05ce
@ -9,7 +9,7 @@ class LarkWikiService extends LarkBaseService {
|
||||
*/
|
||||
async getNodeInfo(token: string) {
|
||||
const path = `/wiki/v2/spaces/get_node`
|
||||
return this.get<Lark.WikiNodeData>(path, { token })
|
||||
return this.get<Lark.WikiNodeRes>(path, { token })
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -164,6 +164,10 @@ export namespace Lark {
|
||||
}
|
||||
}
|
||||
|
||||
export interface WikiNodeRes extends BaseRes {
|
||||
data: WikiNodeData
|
||||
}
|
||||
|
||||
export interface SpreadsheetRes extends BaseRes {
|
||||
data: SpreadsheetData
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user