mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 22:38:09 -05:00
Suppress numbering on promoted links.
This commit is contained in:
@@ -3720,6 +3720,7 @@ class ApiController(RedditController, OAuth2ResourceController):
|
||||
listing = LinkListing(builder, nextprev=False).listing()
|
||||
if listing.things:
|
||||
w = listing.things[0]
|
||||
w.num = ""
|
||||
return spaceCompress(w.render())
|
||||
|
||||
@json_validate(
|
||||
|
||||
Reference in New Issue
Block a user