ugcinc 4.5.38 → 4.5.40
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.
- package/dist/automations/nodes/llm.js +1 -1
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -192,7 +192,7 @@ async function runTool(toolName, rawParams) {
|
|
|
192
192
|
}
|
|
193
193
|
const config = loadConfig();
|
|
194
194
|
const isAdmin = config.admin === 'true';
|
|
195
|
-
const client = new client_1.UGCClient({ apiKey, orgId, admin: isAdmin });
|
|
195
|
+
const client = new client_1.UGCClient({ apiKey, orgId: orgId ?? config.orgId, admin: isAdmin });
|
|
196
196
|
let params = undefined;
|
|
197
197
|
if (parsed) {
|
|
198
198
|
const parseResult = tool.schema.safeParse(parsed);
|