Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore: cleaner

Marc Seitze65b8a811d12
diff --git a/lib/redis-job-store.ts b/lib/redis-job-store.ts
index 54ee9d37..dd3769a5 100644
--- a/lib/redis-job-store.ts
+++ b/lib/redis-job-store.ts
@@ -116,7 +116,7 @@ export class RedisJobStore {
await redis.setex(jobKey, JOB_TTL, JSON.stringify(updatedJob));
// If this update includes a blob URL, schedule it for cleanup
- if (updates.result && updates.result.startsWith("https://")) {
+ if (updates.result?.startsWith("https://")) {
await this.scheduleBlobForCleanup(updates.result, jobId);
}