Skip to content

Commit e6414e8

Browse files
chore: remove invalid field from soql
1 parent 8abe669 commit e6414e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/agent/test/run-eval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function resolveAgent(org: Org, apiName: string): Promise<{ agentId: strin
7676

7777
// Filter to published/active versions only
7878
const versionResult = await conn.query<{ Id: string }>(
79-
`SELECT Id FROM BotVersion WHERE BotDefinitionId = '${agentId}' AND Status = 'Published' ORDER BY VersionNumber DESC LIMIT 1`
79+
`SELECT Id FROM BotVersion WHERE BotDefinitionId = '${agentId}' ORDER BY VersionNumber DESC LIMIT 1`
8080
);
8181
if (!versionResult.records.length) {
8282
throw messages.createError('error.agentVersionNotFound', [apiName]);

0 commit comments

Comments
 (0)