Skip to content

Commit

Permalink
feat: remove userCredentials references (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharmyn28 authored Nov 7, 2024
1 parent 07112f1 commit 5817e3d
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 5817e3d

Please sign in to comment.