Skip to content

Commit

Permalink
fix(Schedules.Repo): stop caching unfound trips (#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
thecristen authored May 23, 2024
1 parent 4de94b9 commit ec89ff9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/schedules/repo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec89ff9

Please sign in to comment.