[Fixed]-Adding data into method variable

1👍

Each article (or piece) does not have a username property. Instead, each article has a user, which in turn has a username property. So you need to get the article’s user, and get the user‘s username:

{{ piece.user.username }}

Leave a comment