mirror of
https://github.com/strapi/strapi.git
synced 2025-09-14 11:08:35 +00:00
Merge pull request #13105 from jorgeRambla/fix/upload-plugin
Fix upload plugin
This commit is contained in:
commit
aeb21ff85e
@ -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 },
|
||||
|
@ -8,11 +8,6 @@ module.exports = {
|
||||
path: '/',
|
||||
handler: 'content-api.upload',
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/files/count',
|
||||
handler: 'content-api.count',
|
||||
},
|
||||
{
|
||||
method: 'GET',
|
||||
path: '/files',
|
||||
|
Loading…
x
Reference in New Issue
Block a user