Skip to content

Commit f6db51a

Browse files
Fixed getUserFromClient not awaited.
1 parent 3bffe8b commit f6db51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grant-types/client-credentials-grant-type.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class ClientCredentialsGrantType extends AbstractGrantType {
4545
}
4646

4747
const scope = this.getScope(request);
48-
const user = this.getUserFromClient(client);
48+
const user = await this.getUserFromClient(client);
4949

5050
return this.saveToken(user, client, scope);
5151
}

0 commit comments

Comments
 (0)