scotthovestadt / gigya

Gigya JavaScript REST SDK
MIT License
37 stars 62 forks source link

Calling ds.store({ ... }) returns error #15

Closed ofzza closed 7 years ago

ofzza commented 7 years ago

Calling gigya.ds.store({ ... }) returns error:

Gigya API ds.setSchema failed with error code 403005 and message Unauthorized user
ofzza commented 7 years ago

Seems the gigya.sds.store({...}) method targets the wrong REST endpoint. It is targeting ds.setSchema instead of ds.store.

Proposing a fix in PR #16. I've tested after changing the targeted endpoint and there are no fiurther problems ...

scotthovestadt commented 7 years ago

@ofzza Definitely my fault. Sorry about that and thanks for fixing it. I'll release a new version on NPM today.

ofzza commented 7 years ago

@scotthovestadt Tnx for such a quick response and for all the great work!