mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-04 18:00:38 +08:00
fix(scrape-events): updateScrapeResult fix
This commit is contained in:
parent
b5ec47fd96
commit
2e2e80d679
@ -59,6 +59,12 @@ export class ScrapeEvents {
|
||||
|
||||
try {
|
||||
const previousLog = (await supabase.from("scrape_events").select().eq("id", logId).single()).data as any;
|
||||
|
||||
if (!previousLog) {
|
||||
Logger.warn("Previous log not found.");
|
||||
return;
|
||||
}
|
||||
|
||||
await supabase.from("scrape_events").update({
|
||||
content: {
|
||||
...previousLog.content,
|
||||
|
Loading…
x
Reference in New Issue
Block a user