Adding 501 not implemented errors to screen API which did not have a controller previously.

This commit is contained in:
mike12345567 2020-10-13 17:40:28 +01:00
parent 3e9836138b
commit 0c2f48fd96
2 changed files with 17 additions and 0 deletions

View File

@ -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)
}