Update pkg/npm/http-api/src/Urbit.ts

Co-authored-by: Hunter Miller <hunter@tlon.io>
This commit is contained in:
Patrick O'Sullivan 2022-09-13 11:44:31 -05:00 committed by GitHub
parent 400a437b08
commit b7abdea619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ export class Urbit {
code,
verbose = false,
}: AuthenticationInterface) {
const airlock = new Urbit(url.startsWith('http') ? url : `http://${url}, code);
const airlock = new Urbit(url.startsWith('http') ? url : `http://${url}`, code);
airlock.verbose = verbose;
airlock.ship = ship;
await airlock.connect();