From 8b7fd1b643690fbbf2e854309c07369b0c81d957 Mon Sep 17 00:00:00 2001 From: Milagros Date: Tue, 5 Nov 2024 19:03:43 +0100 Subject: [PATCH] feat: remove userCredentials references --- .../Synchronization/UserSyncTest/queries/metadataQueries.js | 2 +- .../Synchronization/UserSyncTest/queries/userSyncQueries.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Synchronization/UserSyncTest/queries/metadataQueries.js b/src/pages/Synchronization/UserSyncTest/queries/metadataQueries.js index e20f1d6b..13302467 100644 --- a/src/pages/Synchronization/UserSyncTest/queries/metadataQueries.js +++ b/src/pages/Synchronization/UserSyncTest/queries/metadataQueries.js @@ -459,7 +459,7 @@ export const apiFetchConstants = async (dataEngine) => { const meQuery = () => ({ resource: 'me', params: { - fields: 'id,code,name,displayName,created,lastUpdated,birthday,education,gender,jobTitle,surname,firstName,introduction,employer,interests,languages,email,phoneNumber,nationality,deleted,userCredentials[id,code,name,displayName,created,lastUpdated,deleted,username,userRoles[id,code,name,displayName,created,lastUpdated,deleted]],organisationUnits[id,path],teiSearchOrganisationUnits[id,path]', + fields: 'id,code,name,displayName,created,lastUpdated,birthday,education,gender,jobTitle,surname,firstName,introduction,employer,interests,languages,email,phoneNumber,nationality,deleted,username,userRoles[id,code,name,displayName,created,lastUpdated,deleted],organisationUnits[id,path],teiSearchOrganisationUnits[id,path]', paging: false, }, }) diff --git a/src/pages/Synchronization/UserSyncTest/queries/userSyncQueries.js b/src/pages/Synchronization/UserSyncTest/queries/userSyncQueries.js index e447b8c3..40b84def 100644 --- a/src/pages/Synchronization/UserSyncTest/queries/userSyncQueries.js +++ b/src/pages/Synchronization/UserSyncTest/queries/userSyncQueries.js @@ -7,7 +7,7 @@ export const getUserQuery = (query = '') => { resource: `users`, params: { query, - fields: 'id,name,userCredentials,userGroups,organisationUnits,teiSearchOrganisationUnits,publicAccess,userGroupAccesses,userAccesses', + fields: 'id,name,username,externalAuth,twoFA,passwordLastUpdated,cogsDimensionConstraints,catDimensionConstraints,previousPasswords,selfRegistered,invitation,disabled,sharing,userRoles,userGroups,organisationUnits,teiSearchOrganisationUnits,publicAccess,userGroupAccesses,userAccesses', order: 'name:asc', paging: 'false', },