Skip to content

Commit

Permalink
Make /logs, /flps and /attachment routes private again (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
awegrzyn authored Oct 7, 2021
1 parent 46ffb2c commit 0356a6c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/server/routers/attachments.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
method: 'post',
path: 'attachments',
controller: [attachmentMiddleware, AttachmentsController.createAttachment],
args: { public: true },
args: { public: false },
children: [
{
method: 'get',
Expand Down
2 changes: 1 addition & 1 deletion lib/server/routers/flps.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
method: 'get',
path: '/flps',
controller: FlpsController.listFlps,
args: { public: true },
args: { public: false },
children: [
{
method: 'get',
Expand Down
2 changes: 1 addition & 1 deletion lib/server/routers/logs.router.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
method: 'get',
path: '/logs',
controller: LogsController.listLogs,
args: { public: true },
args: { public: false },
children: [
{
method: 'post',
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aliceo2/bookkeeping",
"version": "0.17.9",
"version": "0.17.10",
"author": "CERN",
"license": "GPL-3.0",
"scripts": {
Expand Down

0 comments on commit 0356a6c

Please sign in to comment.