Add the new fields to the admin API
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2020-12-20 00:04:09 +01:00
parent bb01f7d62d
commit e814aacb86

View File

@ -76,6 +76,14 @@ ClientRouter.route("/")
type: Types.STRING, type: Types.STRING,
optional: true, optional: true,
}, },
featured: {
type: Types.BOOLEAN,
optional: true,
},
description: {
type: Types.STRING,
optional: true,
},
}, },
true true
), ),
@ -153,6 +161,14 @@ ClientRouter.route("/:id")
type: Types.STRING, type: Types.STRING,
optional: true, optional: true,
}, },
featured: {
type: Types.BOOLEAN,
optional: true,
},
description: {
type: Types.STRING,
optional: true,
},
}, },
true true
), ),