docs(storage): fix minor typo in storage docs (#3807)

The `putFile` docs referenced the wrong variable in the first example
This commit is contained in:
janndriessen
2020-06-22 14:02:31 +02:00
committed by GitHub
parent b462be542a
commit ad6bb41b93

View File

@@ -103,7 +103,7 @@ such as the current upload progress:
const task = reference.putFile(pathToFile);
task.on('state_changed', taskSnapshot => {
console.log(`${taskSnapshot.bytesTransferred} transferred out of ${task.totalBytes}`);
console.log(`${taskSnapshot.bytesTransferred} transferred out of ${taskSnapshot.totalBytes}`);
});
task.then(() => {