mirror of
https://github.com/strapi/strapi.git
synced 2025-10-29 08:59:34 +00:00
Fix typo
This commit is contained in:
parent
67b587bd6f
commit
c697050358
@ -1,13 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
const registerUploadMiddlware = require('./middlewares/upload');
|
||||
const registerUploadMiddleware = require('./middlewares/upload');
|
||||
|
||||
/**
|
||||
* Register upload plugin
|
||||
* @param {{ strapi: import('@strapi/strapi').Strapi }}
|
||||
*/
|
||||
module.exports = async ({ strapi }) => {
|
||||
await registerUploadMiddlware({ strapi });
|
||||
await registerUploadMiddleware({ strapi });
|
||||
|
||||
if (strapi.plugin('graphql')) {
|
||||
require('./graphql')({ strapi });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user