openskynet / src /pairing /pairing-labels.ts
Darochin's picture
Mirror OpenSkyNet workspace snapshot from Git HEAD
fc93158 verified
import { getPairingAdapter } from "../channels/plugins/pairing.js";
import type { PairingChannel } from "./pairing-store.js";
export function resolvePairingIdLabel(channel: PairingChannel): string {
return getPairingAdapter(channel)?.idLabel ?? "userId";
}