update and error handling
This commit is contained in:
parent
fa6bc5f3f3
commit
1bb080f7f1
12 changed files with 203 additions and 30 deletions
|
|
@ -74,14 +74,14 @@ const OrganizationVersion = {
|
|||
priceLabel: { type: String, required: true },
|
||||
description: { type: String }
|
||||
}],
|
||||
tag: { type: Tag }
|
||||
tag: [Tag]
|
||||
}
|
||||
|
||||
const Organization = new Schema({
|
||||
adminName: { type: String, required: true },
|
||||
email: { type: String, required: true },
|
||||
token: { type: String, required: true },
|
||||
slug: { type: String, required: true },
|
||||
slug: [{ type: String }], // aliases system
|
||||
validationState: {
|
||||
type: AllowedString,
|
||||
required: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue