Skip to content

Commit

Permalink
Add integer cast
Browse files Browse the repository at this point in the history
  • Loading branch information
rainbowdashlabs committed Feb 18, 2024
1 parent e9a2132 commit 4bc887a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dependencyResolutionManagement {
versionCatalogs {
create("libs") {
// misc
version("sadu", "2.0.0-SNAPSHOT")
version("sadu", "2.0.0-20240214.161339-12")
library("sadu-queries", "de.chojo.sadu", "sadu-queries").versionRef("sadu")
library("sadu-updater", "de.chojo.sadu", "sadu-updater").versionRef("sadu")
library("sadu-postgresql", "de.chojo.sadu", "sadu-postgresql").versionRef("sadu")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/de/chojo/repbot/dao/provider/Guilds.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public GuildList guilds(int pageSize) {
private Integer pages(int pageSize) {
return query("""
SELECT
CEIL(COUNT(1)::numeric / ?) AS count
CEIL(COUNT(1)::numeric / ?)::INTEGER AS count
FROM
guilds
""")
Expand Down

0 comments on commit 4bc887a

Please sign in to comment.