@clawos-dev/clawd 0.2.157 → 0.2.158-beta.332.393cc6b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21146,8 +21146,8 @@ async function callApi(ctx, method, pathAndQuery, body) {
|
|
|
21146
21146
|
method,
|
|
21147
21147
|
headers: {
|
|
21148
21148
|
Authorization: `Bearer ${ctx.apiKey}`,
|
|
21149
|
-
"X-Owner-Union-Id": ctx.ownerUnionId,
|
|
21150
|
-
"X-Owner-Name": ctx.ownerName,
|
|
21149
|
+
"X-Owner-Union-Id": encodeURIComponent(ctx.ownerUnionId),
|
|
21150
|
+
"X-Owner-Name": encodeURIComponent(ctx.ownerName),
|
|
21151
21151
|
"content-type": "application/json"
|
|
21152
21152
|
},
|
|
21153
21153
|
body: body == null ? void 0 : JSON.stringify(body)
|
package/package.json
CHANGED