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 {
|
||||
id: ID!
|
||||
name: String!
|
||||
slug: String!
|
||||
slug: String
|
||||
icon: String!
|
||||
#createdAt: DateTime
|
||||
#updatedAt: DateTime
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
},
|
||||
[?] slug: {
|
||||
[X] type: String,
|
||||
[X] required: true,
|
||||
[ ] required: true, // Not required in Nitro
|
||||
[ ] unique: true // Unique value is not enforced in Nitro?
|
||||
},
|
||||
[?] icon: { // Nitro adds required: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user