Yes, now it works ! Thanks @baris
S
snahedis
@snahedis
Posts
-
Display fullname in topic -
Display fullname in topic@baris Hey thanks for the quick answer !
I've tried your solution but it doesn't seem to change anything. Actually, isn't the "fullname" field already in the fields array ?
https://github.com/NodeBB/NodeBB/blob/master/src/posts/user.js#L92Despite this the fullname isn't returned on topic. Here for example : https://community.nodebb.org/api/topic/14115/display-fullname-in-topic/2
Did I miss something ?
-
Display fullname in topicHi,
I try to display fullname instead of username inside post but it's not in the /api/topic endpoint and posts.user.fullname is always undefined even if the user have the fullname field set.
How can I add the fullname to the api ?