sidferreira / aor-firebase-client

Firebase client for Admin on Rest
MIT License
57 stars 29 forks source link

Typos in README #34

Open pelanmar1 opened 6 years ago

pelanmar1 commented 6 years ago

I spotted two errors in the README example.

  1. In the first example, the admin component should include firebaseConfig instead of trackedResources:

This: <Admin restClient={RestClient(trackedResources, clientOptions)} > should be: <Admin restClient={RestClient(firebaseConfig, clientOptions)} >

  1. The name of the attribute passed to the clientOptions.trackedResources object should be isPublic:true instead of public: true, according to the source code.