Re: sync function issue - got 'undefined' when set doc's channel with value that included doc.keys
35 views
Skip to first unread message
Jens Alfke
unread,
May 11, 2015, 4:43:15 PM5/11/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mobile-c...@googlegroups.com
Weird — is that your sync function exactly as present in the config file? Because my guess is that there’s a typo in one of the places you put “key_id”, even though that isn’t showing up in the code you posted. Because it’s clear that the variable key_id in the channel(…) call is undefined.
You can call log(…) in a sync function to log a string to the console. That might help you debug this.
—Jens
atom992
unread,
May 13, 2015, 11:57:26 AM5/13/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message