Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. const defaultParams = id => ({
  2. TableName: TABLE_NAME.USERS,
  3. Key: { id }
  4. })
  5.  
  6. const updateProjects = (userId, projects) =>
  7. setNewValue(defaultParams(userId), 'projects', projects)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement