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
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
to mobile-c...@googlegroups.com
Hold on. I'm an idiot. Never mind. I was trying to PUT the wrong URL.

slim
Reply all
Reply to author
Forward
0 new messages