First of all, thanks for your library :) I have a issue when I want to insert data in firebase ! Data are inserted but not in the correct path on firebase !
This is my route when I want to create an event for example:
http://localhost:3000/admin/events/create
I would to like that data are inserted into /events, but here data are saved in /admin/events.
This is normal because your library uses the basepath which corresponds to the location path:
restClient.js#L142
Maybe, it could be better to to get the firebase reference on the resource, not on the basepath, like you do
Hi guys !
First of all, thanks for your library :) I have a issue when I want to insert data in firebase ! Data are inserted but not in the correct path on firebase !
This is my route when I want to create an event for example:
http://localhost:3000/admin/events/create
I would to like that data are inserted into /events, but here data are saved in /admin/events. This is normal because your library uses the basepath which corresponds to the location path: restClient.js#L142
Maybe, it could be better to to get the firebase reference on the resource, not on the basepath, like you do
Thanks in advance !