Skip to content

Commit 77fac22

Browse files
committed
Fixing typos.
1 parent 1d76d33 commit 77fac22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/firestore/src/remote/serializer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,13 +284,13 @@ export function fromVersion(version: ProtoTimestamp): SnapshotVersion {
284284
export function toResourceName(
285285
databaseId: DatabaseId,
286286
path: ResourcePath,
287-
uriEncoded: boolean = false
287+
urlEncoded: boolean = false
288288
): string {
289289
const resourcePath = fullyQualifiedPrefixPath(databaseId)
290290
.child('documents')
291291
.child(path);
292292

293-
if (uriEncoded) {
293+
if (urlEncoded) {
294294
return resourcePath
295295
.toArray()
296296
.map(segment => encodeURIComponent(segment))

packages/firestore/test/lite/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2152,7 +2152,7 @@ describe('Count queries', () => {
21522152
});
21532153
});
21542154

2155-
it('can run count query getCountFromServer with + in document name', () => {
2155+
it('can run count query getCount with + in document name', () => {
21562156
return withTestCollection(async coll => {
21572157
await setDoc(doc(coll, 'a+1'), {});
21582158
await setDoc(doc(coll, 'b1'), {});

0 commit comments

Comments
 (0)