π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Prevent undefined errors
Manav Rathi33c84f7a08e9
diff --git a/web/apps/photos/src/utils/common/job.ts b/web/apps/photos/src/utils/common/job.tsindex f549966b66..365f879e95 100644--- a/web/apps/photos/src/utils/common/job.ts+++ b/web/apps/photos/src/utils/common/job.ts@@ -50,7 +50,7 @@ export class SimpleJob<R extends JobResult> {try {const jobResult = await this.runCallback();- if (jobResult.shouldBackoff) {+ if (jobResult && jobResult.shouldBackoff) {this.intervalSec = Math.min(this.config.maxItervalSec,this.intervalSec * this.config.backoffMultiplier,