mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 10:06:11 +08:00
fix: merge mock success data
This commit is contained in:
parent
c911aad228
commit
2f39bdddd9
@ -17,7 +17,7 @@ export function withAuth<T, U extends any[]>(
|
||||
logger.warn("You're bypassing authentication");
|
||||
warningCount++;
|
||||
}
|
||||
return { success: true } as T;
|
||||
return { success: true, ...(mockSuccess || {}) } as T;
|
||||
} else {
|
||||
return await originalFunction(...args);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user