From 686d85f07e6c7b1511c38eee0e5e915f6b42b03b Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Tue, 13 Oct 2020 17:40:28 +0100 Subject: [PATCH] Adding 501 not implemented errors to screen API which did not have a controller previously. --- packages/server/src/api/controllers/page.js | 0 packages/server/src/api/controllers/screen.js | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) delete mode 100644 packages/server/src/api/controllers/page.js diff --git a/packages/server/src/api/controllers/page.js b/packages/server/src/api/controllers/page.js deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/server/src/api/controllers/screen.js b/packages/server/src/api/controllers/screen.js index e69de29bb2..91c3c83dd5 100644 --- a/packages/server/src/api/controllers/screen.js +++ b/packages/server/src/api/controllers/screen.js @@ -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) +}