Skip to content

Commit 15190e0

Browse files
committed
Fix bottom half of social credit leaderboard
1 parent 715a84c commit 15190e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Restart Pterodactyl Server
3737
uses: fjogeleit/http-request-action@v1
3838
with:
39-
url: 'https://panel.kiwitechmc.com/api/client/servers/41fd740c/power'
39+
url: 'https://panel.katie.cat/api/client/servers/41fd740c/power'
4040
method: POST
4141
customHeaders: '{"Accept":"application/json","Content-Type":"application/json","Authorization":"Bearer ${{ secrets.PTERODACTYL_UPDATE_KEY }}"}'
4242
data: '{"signal":"restart"}'

src/discord_bot/social_credit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub(crate) async fn run(
136136
))
137137
.await
138138
.join("\n"),
139-
join_all(entries.iter().take(5).enumerate().map(
139+
join_all(entries.iter().take(5).rev().enumerate().map(
140140
|(i, (user, social_credit))| {
141141
let ctx = ctx.clone();
142142
async move {

0 commit comments

Comments
 (0)