11 lines
246 B
JavaScript
11 lines
246 B
JavaScript
|
/** @format */
|
||
|
|
||
|
const updateCurrentUserData = operations => userDataFields => {
|
||
|
const resourceKey = 'current-user-data';
|
||
|
operations.update( [ resourceKey ], { [ resourceKey ]: userDataFields } );
|
||
|
};
|
||
|
|
||
|
export default {
|
||
|
updateCurrentUserData,
|
||
|
};
|