From 1b9e950dd1116526f9996f8c5e808a30bdbcfd9e Mon Sep 17 00:00:00 2001 From: Nikolay M Date: Tue, 24 Oct 2023 10:00:09 +0400 Subject: [PATCH] Fix TestBot (#63) --- src/examples/Funogram.TestBot/Commands/Base.fs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/examples/Funogram.TestBot/Commands/Base.fs b/src/examples/Funogram.TestBot/Commands/Base.fs index 3300d7d..004350c 100644 --- a/src/examples/Funogram.TestBot/Commands/Base.fs +++ b/src/examples/Funogram.TestBot/Commands/Base.fs @@ -52,6 +52,5 @@ let updateArrived (ctx: UpdateContext) = cmd "/send_photo" (fun _ -> Files.testUploadAndSendSinglePhoto |> wrap) |] - if result then () - else + if result then Api.sendMessage (fromId()) defaultText |> bot ctx.Config \ No newline at end of file