2472 v2 settings workspace module (#2532)
* update findOneWorkspaceMember * profile picture upload is working * first name and last name working * support almost working * remove picture working * removed unused code * remove console logs and fix allowImpersonation in FIND_ONE_WORKSPACE_MEMBER_V2 * use useUpdateOneObjectRecord
This commit is contained in:
@ -8,6 +8,10 @@ export const FIND_ONE_WORKSPACE_MEMBER_V2 = gql`
|
||||
id
|
||||
firstName
|
||||
lastName
|
||||
colorScheme
|
||||
avatarUrl
|
||||
locale
|
||||
allowImpersonation
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -16,8 +16,6 @@ export const useUpdateOneObjectRecord = ({
|
||||
objectNameSingular,
|
||||
});
|
||||
|
||||
console.log('update one object');
|
||||
|
||||
// TODO: type this with a minimal type at least with Record<string, any>
|
||||
const [mutate] = useMutation(updateOneMutation);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user