Adding 501 not implemented errors to screen API which did not have a controller previously.
This commit is contained in:
parent
3fd5e7e578
commit
686d85f07e
|
@ -0,0 +1,17 @@
|
|||
/**
|
||||
* This controller is not currently fully implemented. Screens are
|
||||
* currently managed as part of the pages API, please look in api/routes/page.js
|
||||
* for routes and controllers.
|
||||
*/
|
||||
|
||||
exports.fetch = async ctx => {
|
||||
ctx.throw(501)
|
||||
}
|
||||
|
||||
exports.save = async ctx => {
|
||||
ctx.throw(501)
|
||||
}
|
||||
|
||||
exports.destroy = async ctx => {
|
||||
ctx.throw(501)
|
||||
}
|
Loading…
Reference in New Issue