mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
redundant check
This commit is contained in:
parent
0d3cc89ba0
commit
87ca5e7b1d
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ export class AssetUploadService extends BaseService {
|
|||
this.logger.verboseFn(() => `Starting upload: ${JSON.stringify(dto)}`);
|
||||
const { uploadComplete, assetData, uploadLength, contentLength, version } = dto;
|
||||
const isComplete = uploadComplete !== false;
|
||||
const isResumable = version && version >= 3 && uploadComplete !== undefined;
|
||||
const isResumable = version && uploadComplete !== undefined;
|
||||
const { backup } = await this.getConfig({ withCache: true });
|
||||
|
||||
const asset = await this.onStart(auth, dto);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue