From cc0d20e91ac3e7b17d1ee434cf342deade55800e Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Tue, 19 Apr 2022 13:47:47 +0700 Subject: [PATCH] Wrong column --- Bot/Games/SlotMachine.fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bot/Games/SlotMachine.fs b/Bot/Games/SlotMachine.fs index f34f773..9ff641c 100644 --- a/Bot/Games/SlotMachine.fs +++ b/Bot/Games/SlotMachine.fs @@ -137,7 +137,7 @@ let getJackpotAmount () = GuildEnvironment.connectionString |> Sql.connect |> Sql.query "SELECT stock FROM item WHERE symbol = 'JACKPOT'" - |> Sql.executeRowAsync (fun read -> (read.int "price") * 1) + |> Sql.executeRowAsync (fun read -> (read.int "stock") * 1) let incrementJackpot amount = GuildEnvironment.connectionString