Skip to content

A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy injectors to reality checkers. Each agent is a specialized expert with personality, processes, and proven deliverables.

Shell

fix(feishu): pass the approval instance id as a path parameter

Rudy Celekli5643ba8fff7d
diff --git a/engineering/engineering-feishu-integration-developer.md b/engineering/engineering-feishu-integration-developer.md
index a95f7d40..d1db45cd 100644
--- a/engineering/engineering-feishu-integration-developer.md
+++ b/engineering/engineering-feishu-integration-developer.md
@@ -473,7 +473,7 @@ async function createApprovalInstance(params: {
// Query approval instance details
async function getApprovalInstance(instanceCode: string) {
const resp = await client.approval.instance.get({
- params: { instance_id: instanceCode },
+ path: { instance_id: instanceCode },
});
if (resp.code !== 0) {