use private as default visibility

This commit is contained in:
2022-11-26 20:36:51 -05:00
parent 5ee7071dff
commit 443ff86aee
3 changed files with 3 additions and 3 deletions
lib/memex_web/live
context_live
note_live
pipeline_live

@ -27,7 +27,7 @@ defmodule MemexWeb.PipelineLive.Index do
defp apply_action(%{assigns: %{current_user: %{id: current_user_id}}} = socket, :new, _params) do
socket
|> assign(page_title: gettext("new pipeline"))
|> assign(pipeline: %Pipeline{user_id: current_user_id})
|> assign(pipeline: %Pipeline{visibility: :private, user_id: current_user_id})
end
defp apply_action(socket, :index, _params) do