From 0fa4d93f6e625b88bf36cfb7d8c3bbd617a27b96 Mon Sep 17 00:00:00 2001 From: Mike Cifelli Date: Sat, 16 Mar 2024 15:38:49 -0400 Subject: [PATCH] Fix controller name --- ...y_exchange_controller.ex => key_establishment_controller.ex} | 2 +- lib/chronoscope_web/router.ex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename lib/chronoscope_web/controllers/api/nts/{key_exchange_controller.ex => key_establishment_controller.ex} (91%) diff --git a/lib/chronoscope_web/controllers/api/nts/key_exchange_controller.ex b/lib/chronoscope_web/controllers/api/nts/key_establishment_controller.ex similarity index 91% rename from lib/chronoscope_web/controllers/api/nts/key_exchange_controller.ex rename to lib/chronoscope_web/controllers/api/nts/key_establishment_controller.ex index b734a94..487ecf4 100644 --- a/lib/chronoscope_web/controllers/api/nts/key_exchange_controller.ex +++ b/lib/chronoscope_web/controllers/api/nts/key_establishment_controller.ex @@ -1,4 +1,4 @@ -defmodule ChronoscopeWeb.API.NTS.KeyExchangeController do +defmodule ChronoscopeWeb.API.NTS.KeyEstablishmentController do use ChronoscopeWeb, :controller require Logger diff --git a/lib/chronoscope_web/router.ex b/lib/chronoscope_web/router.ex index 93bd578..03d181f 100644 --- a/lib/chronoscope_web/router.ex +++ b/lib/chronoscope_web/router.ex @@ -23,7 +23,7 @@ defmodule ChronoscopeWeb.Router do scope "/api", ChronoscopeWeb.API do pipe_through :api - get "/key-exchange", NTS.KeyExchangeController, :get + get "/key-exchange", NTS.KeyEstablishmentController, :get end # Enable LiveDashboard and Swoosh mailbox preview in development