mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-07 13:34:55 +08:00
Fix team hub id generation on boot
This commit is contained in:
parent
93cefc6d5e
commit
152ee04484
1 changed files with 2 additions and 2 deletions
|
@ -239,11 +239,11 @@ defmodule Livebook.Application do
|
|||
{hub_id, fun} =
|
||||
case String.split(auth, ":") do
|
||||
["offline", name, public_key] ->
|
||||
hub_id = "teams-#{name}"
|
||||
hub_id = "team-#{name}"
|
||||
{hub_id, fn -> create_offline_hub(teams_key, hub_id, name, public_key) end}
|
||||
|
||||
["online", name, org_id, org_key_id, agent_key] ->
|
||||
hub_id = "teams-" <> name
|
||||
hub_id = "team-" <> name
|
||||
|
||||
with :error <- Application.fetch_env(:livebook, :identity_provider) do
|
||||
Application.put_env(
|
||||
|
|
Loading…
Add table
Reference in a new issue