fix(net-tool): 修复 LarkWikiService 中的 getNodeInfo 方法以使用 GET 请求
All checks were successful
/ release (push) Successful in 27s
All checks were successful
/ release (push) Successful in 27s
This commit is contained in:
parent
c0de941ba8
commit
3cd595638e
@ -9,7 +9,7 @@ class LarkWikiService extends LarkBaseService {
|
|||||||
*/
|
*/
|
||||||
async getNodeInfo(token: string) {
|
async getNodeInfo(token: string) {
|
||||||
const path = `/wiki/v2/spaces/get_node`
|
const path = `/wiki/v2/spaces/get_node`
|
||||||
return this.post<Lark.WikiNodeData>(path, { token })
|
return this.get<Lark.WikiNodeData>(path, { token })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user