forked from boos/BoosAPI
fix: address review feedback and code scanning alerts
This commit is contained in:
@@ -242,12 +242,12 @@ function detectProtocolClientApp(input: {
|
||||
};
|
||||
case 'codex': {
|
||||
const clientApp = detectCodexOfficialClientAppViaProfile(input.headers);
|
||||
return (clientApp
|
||||
return clientApp
|
||||
? {
|
||||
...clientApp,
|
||||
clientConfidence: 'exact' as const,
|
||||
}
|
||||
: null) || {
|
||||
: {
|
||||
clientAppId: 'codex',
|
||||
clientAppName: 'Codex',
|
||||
clientConfidence: 'heuristic',
|
||||
|
||||
Reference in New Issue
Block a user