Skip to content

Commit 33ab1b8

Browse files
committed
mix format
1 parent a8e0850 commit 33ab1b8

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/livebook/teams/requests.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ defmodule Livebook.Teams.Requests do
305305

306306
defp transform_response({request, response}) do
307307
case {request, response} do
308-
309308
{request, %{status: 400, body: %{"errors" => %{"detail" => error}}}}
310309
when request.private.deploy ->
311310
{request, %{response | status: 422, body: %{"errors" => %{"file" => [error]}}}}

lib/livebook_web/live/app_session_live.ex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ defmodule LivebookWeb.AppSessionLive do
397397
Livebook.Apps.authorized?(app, socket.assigns.current_user) do
398398
{:noreply, socket}
399399
else
400-
{:noreply, push_navigate(socket, to: ~p"/apps/#{slug}/sessions/#{socket.assigns.session.id}")}
400+
{:noreply,
401+
push_navigate(socket, to: ~p"/apps/#{slug}/sessions/#{socket.assigns.session.id}")}
401402
end
402403
end
403404

test/livebook_teams/web/apps_live_test.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ defmodule LivebookWeb.Integration.AppsLiveTest do
9696
"sales-app-#{Livebook.Utils.random_short_id()}",
9797
"opt-app-#{Livebook.Utils.random_short_id()}"
9898
]
99+
99100
context = change_to_user_session(context)
100101

101102
for slug <- slugs do

0 commit comments

Comments
 (0)