Skip to content

Commit e0c2c30

Browse files
committed
fix: rename variable for clarity in sanitizeClientFields function
1 parent ab164bb commit e0c2c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/auth0/handlers/clients.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,12 +338,12 @@ export default class ClientHandler extends DefaultAPIHandler {
338338

339339
// Sanitize client fields
340340
const sanitizeClientFields = (list: Client[]): Client[] => {
341-
const sanitizedList = this.sanitizeDeprecatedClientFields({
341+
const sanitizedClientList = this.sanitizeDeprecatedClientFields({
342342
clients: list,
343343
fields: [{ newField: 'cross_origin_authentication', deprecatedField: 'cross_origin_auth' }],
344344
});
345345

346-
return sanitizedList.map((item) => {
346+
return sanitizedClientList.map((item) => {
347347
// For resourceServers app type `resource_server`, don't include `oidc_backchannel_logout`, `oidc_logout`, `refresh_token`
348348
if (item.app_type === 'resource_server') {
349349
if ('oidc_backchannel_logout' in item) {

0 commit comments

Comments
 (0)