From ec89ff946e6dcf2a2d0af193fa10aa9f7ac1dddf Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Thu, 23 May 2024 16:11:48 -0400 Subject: [PATCH] fix(Schedules.Repo): stop caching unfound trips (#2075) --- lib/schedules/repo.ex | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/schedules/repo.ex b/lib/schedules/repo.ex index fa6c5900c3..ad467a9684 100644 --- a/lib/schedules/repo.ex +++ b/lib/schedules/repo.ex @@ -107,9 +107,6 @@ defmodule Schedules.Repo do %JsonApi{} = response -> {:ok, Parser.trip(response)} - {:error, [%JsonApi.Error{code: "not_found"} | _]} -> - {:ok, nil} - error -> error end