I figured it out. I added the following JS to the user_id variable in the request:
var userID = localStorage.getItem('userID');
var user_json = {
"collName" : "user",
"id" : userID
};
return user_json;
I figured it out. I added the following JS to the user_id variable in the request:
var userID = localStorage.getItem('userID');
var user_json = {
"collName" : "user",
"id" : userID
};
return user_json;