Skip to content

Commit f115833

Browse files
authored
Grab username in discourse topic json fetch (microsoft#7303)
1 parent b0b5ae6 commit f115833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pxtlib/discourse.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ namespace pxt.discourse {
6363
title: t.title,
6464
url: `${apiUrl}/t/${t.slug}/${t.id}`,
6565
imageUrl: t.image_url,
66-
author: users[t.posters[0].user_id].name,
66+
author: users[t.posters[0].user_id].username,
6767
cardType: "forumUrl"
6868
}
6969
});

0 commit comments

Comments
 (0)