Skip to content

Commit 567ba75

Browse files
committed
fix(server): keep launch identity when a peer link is relabeled
1 parent bc593f7 commit 567ba75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/peer/PeerLinks.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ const make = Effect.gen(function* () {
509509
);
510510

511511
/** A peer's label follows its machine name, so the link takes the one its own address answers with. */
512-
const withLabel = (link: PeerLink, label: string) =>
512+
const withLabel = <Link extends PeerLink>(link: Link, label: string) =>
513513
label === link.label
514514
? Effect.succeed(link)
515515
: sql`

0 commit comments

Comments
 (0)