Forum Discussion
AustinK
5 years agoQrew Commander
In your first line your db where you have "main" needs to be changed to the actual dbid of your app. Click on the home button and then take that dbid from the URL. That is your main app id. The GetUserRole call also needs the same main db I just mentioned added here, if you have something different.
You might also try changing your first line to this. var user getUserID = instead of text, might not matter though.
You might also try changing your first line to this. var user getUserID = instead of text, might not matter though.