From 22b5ba52045ec72f7134f55518fb2ca598f697d3 Mon Sep 17 00:00:00 2001 From: Cristine Guadelupe Date: Tue, 12 Sep 2023 15:24:28 +0700 Subject: [PATCH] Fix: remote cell init (#339) --- lib/kino/remote_ execution_cell.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/kino/remote_ execution_cell.ex b/lib/kino/remote_ execution_cell.ex index f9b58d89..fcc70273 100644 --- a/lib/kino/remote_ execution_cell.ex +++ b/lib/kino/remote_ execution_cell.ex @@ -12,9 +12,9 @@ defmodule Kino.RemoteExecutionCell do fields = %{ "assign_to" => attrs["assign_to"] || "", "node" => attrs["node"] || "", - "cookie" => attrs["cookie"], - "use_cookie_secret" => Map.get(attrs, "use_cookie_secret", true), - "cookie_secret" => attrs["cookie_secret"] + "cookie" => attrs["cookie"] || "", + "cookie_secret" => attrs["cookie_secret"] || "", + "use_cookie_secret" => Map.get(attrs, "use_cookie_secret", true) } ctx = assign(ctx, fields: fields)