From c109a958ecfa0af1678dfc17ad86235b55421679 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro?= Date: Sun, 12 May 2024 01:28:51 +0200 Subject: [PATCH] fix store match --- apps/scrapper/lib/scrapper/processor/match_processor.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/scrapper/lib/scrapper/processor/match_processor.ex b/apps/scrapper/lib/scrapper/processor/match_processor.ex index 865db10..a811149 100644 --- a/apps/scrapper/lib/scrapper/processor/match_processor.ex +++ b/apps/scrapper/lib/scrapper/processor/match_processor.ex @@ -44,7 +44,7 @@ defmodule Scrapper.Processor.MatchProcessor do def process_resp({:ok, raw_match}, match_id) do decoded_match = Poison.decode!(raw_match, as: %LoLAPI.Model.MatchResponse{}) - match_url = Storage.MatchStorage.S3MatchStorage.store_match(match_id, raw_match) + match_url = Storage.MatchStorage.S3MatchStorage.store_match(match_id, raw_match, "matches") match = LolAnalytics.Match.MatchRepo.get_match(match_id) case match do