Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore(auth): restore hybrid.ts to staging
  • Loading branch information
waleedlatif1 committed Mar 28, 2026
commit 120bd88b17b28f92d624f473d63e1ceab3e413a3
2 changes: 1 addition & 1 deletion apps/sim/lib/auth/hybrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const BEARER_PREFIX = 'Bearer '
export function hasExternalApiCredentials(headers: Headers): boolean {
if (headers.has(API_KEY_HEADER)) return true
const auth = headers.get('authorization')
return auth?.startsWith(BEARER_PREFIX)
return auth?.startsWith(BEARER_PREFIX) ?? false
}

export interface AuthResult {
Expand Down
Loading