Commit d00ddc7a authored by Jarrod's avatar Jarrod 💬

Remove unused inputs (for now)

parent e52006c2
......@@ -6,7 +6,14 @@ module.exports = {
slug: {
type: 'string',
required: true
}
},
// page: {
// type: 'number',
// isInteger: true,
// defaultsTo: 1,
// min: 1
// }
},
exits: { },
......@@ -16,7 +23,7 @@ module.exports = {
.findOne({ slug: inputs.slug })
if (!category) {
return this.res.badRequest('Category not found')
return this.res.notFound('Category not found')
}
const posts = await BlogPost
......
......@@ -3,12 +3,12 @@ module.exports = {
description: 'Get a list of blog categories and recent articles.',
inputs: {
page: {
type: 'number',
isInteger: true,
defaultsTo: 1,
min: 1
}
// page: {
// type: 'number',
// isInteger: true,
// defaultsTo: 1,
// min: 1
// }
},
exits: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment