Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): uploadCounters increase only when files are uploaded #6357

Merged
merged 2 commits into from
Jan 18, 2024

Conversation

AngelPone
Copy link
Contributor

@AngelPone AngelPone commented Jan 13, 2024

Description

Currectly the upload function increase the uploadCounter for every asset that can not skip, causing issue #6263.

This PR moves uploadCounter++; before, increase the counter only when files are actually uploaded.

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable

@bo0tzz bo0tzz added the cli Tasks related to the Immich CLI label Jan 13, 2024
cli/src/commands/upload.ts Outdated Show resolved Hide resolved
@jrasm91 jrasm91 enabled auto-merge (squash) January 18, 2024 03:11
@jrasm91 jrasm91 merged commit b98d1bf into immich-app:main Jan 18, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Tasks related to the Immich CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants