diff --git a/PublishHelperBot/Environment.fs b/PublishHelperBot/Environment.fs index 6d5d9ab..0d90841 100644 --- a/PublishHelperBot/Environment.fs +++ b/PublishHelperBot/Environment.fs @@ -16,7 +16,7 @@ type public BotConfig = { relayUrl: string chanelId: int64 adminChatId: int64 - YoutubeDlUrl: string + youtubeDlUrl: string } let private readConfig = diff --git a/PublishHelperBot/Program.fs b/PublishHelperBot/Program.fs index 137d894..b199c0c 100644 --- a/PublishHelperBot/Program.fs +++ b/PublishHelperBot/Program.fs @@ -16,7 +16,7 @@ let botClient = TelegramBotClient (config.token, new HttpClient()) let youtubeDlClient = YoutubeDlClient.createClient { Client = new HttpClient() - BaseUrl = config.YoutubeDlUrl + BaseUrl = config.youtubeDlUrl } let tgService =