From 8e0eea3025980914dc6853af04b4afb95746407a Mon Sep 17 00:00:00 2001 From: Andriy <30056636+West14@users.noreply.github.com> Date: Tue, 30 Aug 2022 15:01:22 +0300 Subject: [PATCH] [store] crappy bypass of tg cache, to fix random capybara --- modules/ContentStore/Service/CapyApiService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ContentStore/Service/CapyApiService.cs b/modules/ContentStore/Service/CapyApiService.cs index 0352250..d4f6abb 100644 --- a/modules/ContentStore/Service/CapyApiService.cs +++ b/modules/ContentStore/Service/CapyApiService.cs @@ -7,6 +7,6 @@ public class CapyApiService : IRandomMediaService public StoreItem StoreItem { get; } = new("capybara", "Капибара", 60, 25); public async Task GetRandomMediaAsync() { - return new RandomMedia("https://api.capy.lol/v1/capybara"); + return new RandomMedia($"https://api.capy.lol/v1/capybara?{new Random().Next(0, 10000)}"); } } \ No newline at end of file