mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
fix(qa-lab): correct scenario catalog type
This commit is contained in:
@@ -350,7 +350,7 @@ export function readQaBootstrapScenarioCatalog(): QaBootstrapScenarioCatalog {
|
||||
};
|
||||
}
|
||||
|
||||
export function readQaScenarioById(id: string): QaSeedScenario {
|
||||
export function readQaScenarioById(id: string): QaSeedScenarioWithSource {
|
||||
const scenario = readQaScenarioPack().scenarios.find((candidate) => candidate.id === id);
|
||||
if (!scenario) {
|
||||
throw new Error(`unknown qa scenario: ${id}`);
|
||||
|
||||
Reference in New Issue
Block a user