Is it possible to create a custom new route on the navigation bar to include say the current logged in user's id?
What's the purpose of this?
I would like to create a link that passes the user's id to paypal, so when they donate directly through paypal, they can all my callback url with the variable, so I can make it create a topic and set the topic creator as the one that donated.
if I try .../api/v3/admin/tokens/?_uid=0 with my admin bearer token I get the following result:
What am I doing wrong?
Use data from Maciev ajaxify.data.loggedInUser To check the data in the array, enter
ajaxify.data.loggedInUser in the browser console
@rod thanks that did it. i entered the wrong url there
@matti Err... I'm not quite sure whether that is possible. What values have you tried?
Please file a bug against the composer-default repository. Thanks!