Forum Discussion

cike's avatar
cike
Champion
7 years ago

Same API call - different results

Hi there, currently I'm facing a strange thing using Lithium APIv1. I set up two different endpoints and each of them makes this API call: <#assign roles = restadmin("/users/id/${uid}/roles").roles...
  • cike's avatar
    cike
    7 years ago

    Parshant - Thanks for your reply.  The "?c" operator did not work in this case, because my uid is already a string.

    After some deeper investigation and rebuilding my endpoint step by step I found the cause of this issue: It was a simple and small typo. :smileyvery-happy: