File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/firestore/src/remote Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -106,10 +106,9 @@ class DatastoreImpl extends Datastore {
106
106
this . appCheckCredentials . getToken ( )
107
107
] )
108
108
. then ( ( [ authToken , appCheckToken ] ) => {
109
- const path = toResourcePath ( databaseId , resourcePath ) . toArray ( ) ;
110
109
return this . connection . invokeRPC < Req , Resp > (
111
110
rpcName ,
112
- path ,
111
+ toResourcePath ( databaseId , resourcePath ) ,
113
112
request ,
114
113
authToken ,
115
114
appCheckToken
@@ -142,10 +141,9 @@ class DatastoreImpl extends Datastore {
142
141
this . appCheckCredentials . getToken ( )
143
142
] )
144
143
. then ( ( [ authToken , appCheckToken ] ) => {
145
- const path = toResourcePath ( databaseId , resourcePath ) . toArray ( ) ;
146
144
return this . connection . invokeStreamingRPC < Req , Resp > (
147
145
rpcName ,
148
- path ,
146
+ toResourcePath ( databaseId , resourcePath ) ,
149
147
request ,
150
148
authToken ,
151
149
appCheckToken ,
You can’t perform that action at this time.
0 commit comments