Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

jottacloud: rename unused variable to _ in jottacloud.go

Aaron Gokaslan7dcbebf9bc27
diff --git a/backend/jottacloud/jottacloud.go b/backend/jottacloud/jottacloud.go
index 10eb955e4..2f80b336c 100644
--- a/backend/jottacloud/jottacloud.go
+++ b/backend/jottacloud/jottacloud.go
@@ -353,7 +353,7 @@ func doAuthV1(ctx context.Context, srv *rest.Client, username, password string)
authCode = strings.Replace(authCode, "-", "", -1) // remove any "-" contained in the code so we have a 6 digit number
opts.ExtraHeaders = make(map[string]string)
opts.ExtraHeaders["X-Jottacloud-Otp"] = authCode
- resp, err = srv.CallJSON(ctx, &opts, nil, &jsonToken)
+ _, err = srv.CallJSON(ctx, &opts, nil, &jsonToken)
}
}
}