mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 03:20:42 +00:00
7 lines
266 B
TypeScript
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";
|
|
}
|