Skip to content

Commit

Permalink
small fix on service id
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Aug 8, 2024
1 parent eae3a34 commit 5d0e87d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion javascript/src/websocket-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ function normalizeServerUrl(server_url) {
}

export async function login(config) {
const service_id = config.login_service_id || "public/*:hypha-login";
const service_id = config.login_service_id || "public/hypha-login";
const timeout = config.login_timeout || 60;
const callback = config.login_callback;
const profile = config.profile;
Expand Down
2 changes: 1 addition & 1 deletion python/hypha_rpc/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def connect_to_server(config):
def login(config):
"""Login to the Hypha server."""
server_url = normalize_server_url(config.get("server_url"))
service_id = config.get("login_service_id", "public/*:hypha-login")
service_id = config.get("login_service_id", "public/hypha-login")
timeout = config.get("login_timeout", 60)
callback = config.get("login_callback")

Expand Down
2 changes: 1 addition & 1 deletion python/hypha_rpc/websocket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def normalize_server_url(server_url):

async def login(config):
"""Login to the hypha server."""
service_id = config.get("login_service_id", "public/*:hypha-login")
service_id = config.get("login_service_id", "public/hypha-login")
timeout = config.get("login_timeout", 60)
callback = config.get("login_callback")
profile = config.get("profile", False)
Expand Down

0 comments on commit 5d0e87d

Please sign in to comment.