Skip to content

Commit 4c839e5

Browse files
authored
Remove unused function parameter
A resolution to issue #221
1 parent c5bfca3 commit 4c839e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/test.solution-counters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function createCounter(ref, num_shards) {
2222
// [END create_counter]
2323

2424
// [START increment_counter]
25-
function incrementCounter(db, ref, num_shards) {
25+
function incrementCounter(ref, num_shards) {
2626
// Select a shard of the counter at random
2727
const shard_id = Math.floor(Math.random() * num_shards).toString();
2828
const shard_ref = ref.collection('shards').doc(shard_id);

0 commit comments

Comments
 (0)