mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-16 20:40:45 +00:00
7 lines
260 B
TypeScript
7 lines
260 B
TypeScript
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";
|
|
}
|