Open drazik opened 5 years ago
Currently in services we use a cozy-client-js instance given by cozy-konnector-libs. We should use a cozy-client instance.
It seems to be pretty simple: https://github.com/cozy/cozy-store/blob/master/src/targets/services/installSuggestion.js#L24-L28
But we need to make sure that all models' methods we are using are implemented to work with cozy-client. Some efforts were done in this direction (see https://github.com/cozy/cozy-libs/pull/455) but not everything seems to work.
Drazik has a branch starting this work.
Currently in services we use a cozy-client-js instance given by cozy-konnector-libs. We should use a cozy-client instance.
It seems to be pretty simple: https://github.com/cozy/cozy-store/blob/master/src/targets/services/installSuggestion.js#L24-L28
But we need to make sure that all models' methods we are using are implemented to work with cozy-client. Some efforts were done in this direction (see https://github.com/cozy/cozy-libs/pull/455) but not everything seems to work.