Skip to content

Commit

Permalink
Merge pull request #13105 from jorgeRambla/fix/upload-plugin
Browse files Browse the repository at this point in the history
Fix upload plugin
  • Loading branch information
Convly committed Jun 15, 2022
2 parents 07bc405 + 473a265 commit aeb21ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions packages/core/upload/server/controllers/content-api.js
Expand Up @@ -37,10 +37,6 @@ module.exports = {
ctx.body = await sanitizeOutput(file, ctx);
},

async count(ctx) {
ctx.body = await getService('upload').count(ctx.query);
},

async destroy(ctx) {
const {
params: { id },
Expand Down
5 changes: 0 additions & 5 deletions packages/core/upload/server/routes/content-api.js
Expand Up @@ -8,11 +8,6 @@ module.exports = {
path: '/',
handler: 'content-api.upload',
},
{
method: 'GET',
path: '/files/count',
handler: 'content-api.count',
},
{
method: 'GET',
path: '/files',
Expand Down

0 comments on commit aeb21ff

Please sign in to comment.