Skip to content

Commit f604c11

Browse files
committed
fix: remove unnecessary blank line in replaceAsset function for cleaner code
1 parent ca7fbbd commit f604c11

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/cmd/upload/run.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@ func (upCmd *UpCmd) replaceAsset(ctx context.Context, ID string, a, old *assets.
420420
defer upCmd.app.Log().Debug("replaced by", "ID", ID, "file", a)
421421
ar, err := upCmd.app.Client().Immich.ReplaceAsset(ctx, ID, a)
422422
if err != nil {
423-
424423
upCmd.app.Jnl().Record(ctx, fileevent.UploadServerError, a.File, "error", err.Error())
425424
return "", err // Must signal the error to the caller
426425
}

0 commit comments

Comments
 (0)