mirror of
https://github.com/minetest/contentdb.git
synced 2025-03-14 14:22:30 +01:00
Add downloads to package JSON
This commit is contained in:
@ -630,7 +630,8 @@ class Package(db.Model):
|
||||
"url": base_url + self.getDownloadURL(),
|
||||
"release": release and release.id,
|
||||
|
||||
"score": round(self.score * 10) / 10
|
||||
"score": round(self.score * 10) / 10,
|
||||
"downloads": self.downloads
|
||||
}
|
||||
|
||||
def getThumbnailURL(self, level=2):
|
||||
|
Reference in New Issue
Block a user