@pasib when you concatenated the object, it got stringified.
Try console.log('test', postData); 🙂
I've spent a while messing around with many of the hooks and and templates trying to figure this out. We can already get the post count of a user with relative ease, but much of the information from the user object is missing from the user object that we access via
I was wondering if we could add fields from the main user object (the ones you'd see at
/api/user/Person1) to the other object (more specifically, if it is possible, which hooks I'd need to access and a general method).
Recent and relevant, and filled with examples. Thank you kindly!
That's great, thanks!