-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove relation throws exception #80
Comments
rickmak
changed the title
Remove relation throws exception
Remove relation throws exception
Sep 30, 2016
rickmak
added a commit
to rickmak/skygear-SDK-JS
that referenced
this issue
Oct 28, 2016
rickmak
added a commit
to rickmak/skygear-doc
that referenced
this issue
Oct 28, 2016
bensonby
pushed a commit
to SkygearIO/skygear-doc
that referenced
this issue
Nov 1, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Follow the example in Skygear JS SDK documentation.
It will throw an exception,
TypeError: Cannot read property 'user_id' of undefined
.This exception is due to the fact that JS SDK expects Skygear server returns a list of users whose relation is successfully removed in
result.data
. However, the server does not return that field currently.Expected Results
No exception when removing a relation
Actual Results
Throw an exeception
The text was updated successfully, but these errors were encountered: