@@ -169,7 +169,7 @@ export class FirestoreAdminClient {
169169 } ) ;
170170 const data : any = await response . json ( ) ;
171171 if ( data ?. error ) this . errorHandler ( data . error , "getDocument" ) ;
172- console . log ( this . documentToJson ( data . fields ) ) ;
172+ // console.log(this.documentToJson(data.fields));
173173 return this . documentToJson ( data . fields ) ;
174174 }
175175
@@ -301,9 +301,9 @@ export class FirestoreAdminClient {
301301 data . error ?? data ?. [ 0 ] ?. error ,
302302 `${ this . firestoreBaseUrl } /${ path } :runQuery` ,
303303 ) ;
304- console . log ( {
305- extendedDetails : data . error ?. details ?? data ?. [ 0 ] ?. error ?. details ,
306- } ) ;
304+ // console.log({
305+ // extendedDetails: data.error?.details ?? data?.[0]?.error?.details,
306+ // });
307307 return [ ] ;
308308 }
309309
@@ -314,7 +314,7 @@ export class FirestoreAdminClient {
314314
315315 return data . map ( ( doc : any ) => {
316316 const docId = doc . document ?. name . split ( `/` ) . pop ( ) ?? "unknown" ;
317- console . log ( { docId } ) ;
317+ // console.log({ docId });
318318 const documentFields = doc . document ?. fields || { } ;
319319 return { ...this . documentToJson ( documentFields ) , _id : docId } ;
320320 } ) ;
@@ -413,9 +413,9 @@ export class FirestoreAdminClient {
413413 data . error ?? data ?. [ 0 ] ?. error ,
414414 `${ this . firestoreBaseUrl } :runQuery` ,
415415 ) ;
416- console . log ( {
417- extendedDetails : data . error ?. details ?? data ?. [ 0 ] ?. error ?. details ,
418- } ) ;
416+ // console.log({
417+ // extendedDetails: data.error?.details ?? data?.[0]?.error?.details,
418+ // });
419419 return [ ] ;
420420 }
421421
@@ -474,7 +474,7 @@ export class FirestoreAdminClient {
474474 ) ;
475475 }
476476
477- console . log ( "> Updating document:\n" , url ) ;
477+ // console.log("> Updating document:\n", url);
478478
479479 const headers = await this . getHeaders ( ) ;
480480 const response = await fetch ( `${ url } ` , {
0 commit comments