mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fixed slug required - it was not in Nitro
This commit is contained in:
parent
67595f6400
commit
816fbdf7cd
@ -1,7 +1,7 @@
|
|||||||
type Category {
|
type Category {
|
||||||
id: ID!
|
id: ID!
|
||||||
name: String!
|
name: String!
|
||||||
slug: String!
|
slug: String
|
||||||
icon: String!
|
icon: String!
|
||||||
#createdAt: DateTime
|
#createdAt: DateTime
|
||||||
#updatedAt: DateTime
|
#updatedAt: DateTime
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
},
|
},
|
||||||
[?] slug: {
|
[?] slug: {
|
||||||
[X] type: String,
|
[X] type: String,
|
||||||
[X] required: true,
|
[ ] required: true, // Not required in Nitro
|
||||||
[ ] unique: true // Unique value is not enforced in Nitro?
|
[ ] unique: true // Unique value is not enforced in Nitro?
|
||||||
},
|
},
|
||||||
[?] icon: { // Nitro adds required: true
|
[?] icon: { // Nitro adds required: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user