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