Files
openclaw/src/pairing/pairing-labels.ts
2026-04-11 21:09:59 +01:00

7 lines
266 B
TypeScript

import { getPairingAdapter } from "../channels/plugins/pairing.js";
import type { PairingChannel } from "./pairing-store.types.js";
export function resolvePairingIdLabel(channel: PairingChannel): string {
return getPairingAdapter(channel)?.idLabel ?? "userId";
}