Skip to content

Commit a0447b6

Browse files
dsschirammCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 4137d45 commit a0447b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/handlers/token-handler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class TokenHandler {
132132
}
133133

134134
try {
135-
const client = await this.model.getClient(credentials.clientId, credentials.clientSecret ?? null);
135+
const client = await this.model.getClient(credentials.clientId, credentials.clientSecret || null);
136136

137137
if (!client) {
138138
throw new InvalidClientError('Invalid client: client is invalid');

0 commit comments

Comments
 (0)