Adding 501 not implemented errors to screen API which did not have a controller previously.
This commit is contained in:
parent
3e9836138b
commit
0c2f48fd96
|
@ -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