Skip to content

Commit

Permalink
Fixes issue with transfer job not type safety
Browse files Browse the repository at this point in the history
  • Loading branch information
Spoffy committed Jan 14, 2025
1 parent d721c79 commit 7153b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/lib/AttachmentFileManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class AttachmentFileManager implements IAttachmentFileManager {
}

private _runTransferJob(): TransferJob {
if (this.transferStatus().isRunning) {
if (this._transferJob && this.transferStatus().isRunning) {
return this._transferJob;
}
const transferPromise = this._performPendingTransfers();
Expand Down

0 comments on commit 7153b44

Please sign in to comment.