From b9d6f92b47749f36fd46b71722634590bdc36cc6 Mon Sep 17 00:00:00 2001 From: William Orlopp Date: Sun, 17 Nov 2024 00:22:10 -0800 Subject: [PATCH] Updated BeanCoin Donation API --- api/v1/routes/cafeBot/beanCoins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/routes/cafeBot/beanCoins.js b/api/v1/routes/cafeBot/beanCoins.js index e037e0fd..befdcc62 100644 --- a/api/v1/routes/cafeBot/beanCoins.js +++ b/api/v1/routes/cafeBot/beanCoins.js @@ -48,7 +48,7 @@ router.get("/beanCoin/donation_users/:user_id", check_authentication, check_admi response.status(200).json({ message: `Successfully retrieved time until next donation for user (${user_id}).`, - time_until_next_donation: rows[0] + time_until_next_donation: rows[0].time_until_next_donation }); }); });