mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 07:30:43 +08:00
fix(scrape-events): updateScrapeResult fix
This commit is contained in:
parent
b5ec47fd96
commit
2e2e80d679
@ -59,6 +59,12 @@ export class ScrapeEvents {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const previousLog = (await supabase.from("scrape_events").select().eq("id", logId).single()).data as any;
|
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({
|
await supabase.from("scrape_events").update({
|
||||||
content: {
|
content: {
|
||||||
...previousLog.content,
|
...previousLog.content,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user