use auth endpoints
All checks were successful
Build and Publish / build-release (push) Successful in 1m52s

This commit is contained in:
2026-05-07 12:23:15 -05:00
parent 1f73fe75cc
commit 9439c62507

View File

@@ -26,7 +26,7 @@ defmodule PolicyServiceWeb.Router do
get "/openapi", OpenApiSpex.Plug.RenderSpec, []
scope "/v1" do
# pipe_through [:authenticated, :authorized]
pipe_through [:authenticated, :authorized]
get "/policies", PolicyController, :index
get "/policies/:application_id", PolicyController, :show