MCPcopy Create free account
hub / github.com/codelitdev/courselit / getNewUserDataObject

Function getNewUserDataObject

packages/app/components/UserDetails.js:151–157  ·  view source on GitHub ↗
(user)

Source from the content-addressed store, hash-verified

149 };
150
151 const getNewUserDataObject = (user) => ({
152 isAdmin: user.isAdmin,
153 isCreator: user.isCreator,
154 active: user.active,
155 password: "",
156 confirmPassword: "",
157 });
158
159 const getChangedFieldsForMutation = () => {
160 let otherFields = "";

Callers 1

saveUserChangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected