From 0273b4b4ea4c6dd348e66d20326bea6473ee5939 Mon Sep 17 00:00:00 2001 From: Cristen Jones Date: Tue, 2 Jul 2024 13:06:08 -0400 Subject: [PATCH] hotfix(Routes.Route): have Jason.Encoder skip new field it gets mad when the cache gives it a struct without the new field --- lib/routes/route.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/route.ex b/lib/routes/route.ex index c5f0acc7f2..b3226fb7c7 100644 --- a/lib/routes/route.ex +++ b/lib/routes/route.ex @@ -3,7 +3,7 @@ defmodule Routes.Route do @routes_repo Application.compile_env!(:dotcom, :repo_modules)[:routes] - @derive Jason.Encoder + @derive {Jason.Encoder, except: [:external_agency_name]} defstruct color: "", custom_route?: false,