Skip to content

Commit

Permalink
fix(customers): revert to simple note type inference
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
  • Loading branch information
eljefedelrodeodeljefe committed Jun 12, 2019
1 parent 75e429c commit 7ca1983
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions lib/v0/customers/notes.js
Expand Up @@ -41,25 +41,21 @@ const base = {
module.exports.base = base

module.exports.create = {
oneOf: [
{
type: 'object',
required: [
'type',
'payload'
],
properties: {
type: {
type: 'string',
enum: [
'text'
]
},
payload: {
type: 'string',
maxLength: 16384
}
}
type: 'object',
required: [
'type',
'payload'
],
properties: {
type: {
type: 'string',
enum: [
'text'
]
},
payload: {
type: 'string',
maxLength: 16384
}
]
}
}

0 comments on commit 7ca1983

Please sign in to comment.