mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-15 12:56:01 +08:00
Nick: fixed the other instances as well
This commit is contained in:
parent
bd986a453c
commit
0ddaac6ae0
@ -111,7 +111,7 @@ export async function runWebScraper({
|
||||
|
||||
const saveJob = async (job: Job, result: any) => {
|
||||
try {
|
||||
if (process.env.USE_DB_AUTHENTICATION) {
|
||||
if (process.env.USE_DB_AUTHENTICATION === "true") {
|
||||
const { data, error } = await supabase_service
|
||||
.from("firecrawl_jobs")
|
||||
.update({ docs: result })
|
||||
|
@ -6,7 +6,7 @@ import "dotenv/config";
|
||||
|
||||
export async function logJob(job: FirecrawlJob) {
|
||||
try {
|
||||
if (!process.env.USE_DB_AUTHENTICATION) {
|
||||
if (process.env.USE_DB_AUTHENTICATION === "false") {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user