use auth endpoints
All checks were successful
Build and Publish / build-release (push) Successful in 1m52s
All checks were successful
Build and Publish / build-release (push) Successful in 1m52s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user