1
0
Fork 0
mirror of synced 2024-06-28 02:50:50 +12:00

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 3fd5e7e578
commit 686d85f07e
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)
}