Merge pull request #1041 from josepfo/feat/manual-entry-populate-existing-requirement
feat: enable custom entries and custom information requirements
This commit is contained in:
commit
abcce7ff06
11 changed files with 525 additions and 192 deletions
|
|
@ -21,7 +21,7 @@ const resolvers = {
|
|||
return customers.updateCustomer(customerId, customerInput, token)
|
||||
},
|
||||
addCustomField: (...[, { customerId, label, value }]) => customers.addCustomField(customerId, label, value),
|
||||
saveCustomField: (...[, { customerId, fieldId, newValue }]) => customers.saveCustomField(customerId, fieldId, newValue),
|
||||
saveCustomField: (...[, { customerId, fieldId, value }]) => customers.saveCustomField(customerId, fieldId, value),
|
||||
removeCustomField: (...[, [ { customerId, fieldId } ]]) => customers.removeCustomField(customerId, fieldId),
|
||||
editCustomer: async (root, { customerId, customerEdit }, context) => {
|
||||
const token = authentication.getToken(context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue