mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-27 01:50:26 +01:00
Add PostColor and content
This commit is contained in:
@@ -12,6 +12,8 @@ export default class PostUpdateValidator {
|
||||
cover: schema.string.optional(),
|
||||
readingTime: schema.number.optional(),
|
||||
date: schema.string.optional(),
|
||||
color: schema.string.optional(),
|
||||
content: schema.string.optional()
|
||||
})
|
||||
public messages = {
|
||||
required: 'The field {{field}} is required'
|
||||
|
||||
Reference in New Issue
Block a user