Skip to content

Commit

Permalink
feat: remove userCredentials references
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharmyn28 committed Nov 5, 2024
1 parent 38450ce commit 8b7fd1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down

0 comments on commit 8b7fd1b

Please sign in to comment.