Merge pull request #19785 from mozilla/FXA-12784

bug(auth): Fix typo in error name
This commit is contained in:
Dan Schomburg 2025-12-11 14:03:13 -08:00 committed by GitHub
commit 8a0d5caec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ module.exports = ({ log, oauthDB }) => ({
.then(function (client) {
if (!client) {
log.debug('notFound', { id: params.client_id });
throw AppError.unknownClient(params.client_id);
throw AppError.unknownClientId(params.client_id);
} else {
return {
id: client.id.toString('hex'),