Skip to content

Commit

Permalink
fix: DB sort query
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelloeater committed Sep 10, 2023
1 parent d00e755 commit 8f8da60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

n.n.n / 2023-09-09
n.n.n / 2023-09-10
==================


* version bump

v1.0.1 / 2023-09-09
===================
Expand Down
2 changes: 1 addition & 1 deletion fedi_gatus/shared/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_top_lemmy_instances(self, count=25) -> list[Model]:
d = (
DbAccess.select()
.where(DbAccess.software_name == "Lemmy")
.order_by(DbAccess.stats_monthly_active_users)
.order_by(DbAccess.stats_monthly_active_users.desc())
.limit(count)
)
info = []
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fedi_gatus"
version = "v1.0.0"
version = "v1.0.1"
description = ""
authors = ["Jesse Schoepfer <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 8f8da60

Please sign in to comment.