mirror of https://github.com/openclaw/openclaw.git
11 lines
375 B
TypeScript
11 lines
375 B
TypeScript
import type { OpenClawConfig } from "../../config/config.js";
|
|
import { resolveGatewayDriftCheckCredentialsFromConfig } from "../../gateway/credentials.js";
|
|
|
|
export function resolveGatewayTokenForDriftCheck(params: {
|
|
cfg: OpenClawConfig;
|
|
env?: NodeJS.ProcessEnv;
|
|
}) {
|
|
void params.env;
|
|
return resolveGatewayDriftCheckCredentialsFromConfig({ cfg: params.cfg }).token;
|
|
}
|