can sync function know that it's being called through the admin api ?
19 views
Skip to first unread message
Seung Chan Lim
unread,
Feb 22, 2015, 10:38:20 PM2/22/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
I'm making PUT requests to /db/_user/ calls, and noticing that this also goes through the sync function.
Is there a way to know inside the sync function that it's a admin api call or a /db/_user (or /db/_role/) call and treat it differently than a normal call?
slim
Seung Chan Lim
unread,
Feb 22, 2015, 10:54:11 PM2/22/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
Hold on. I'm an idiot. Never mind. I was trying to PUT the wrong URL.