Skip to content

Commit

Permalink
fix: update @koa/multer import keyword in koa.hbs
Browse files Browse the repository at this point in the history
  • Loading branch information
wazho committed Jul 16, 2023
1 parent 347c2bf commit 169818e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/routeGeneration/templates/koa.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import type { IocContainer, IocContainerFactory } from '@tsoa/runtime';
import type { Middleware } from 'koa';
import type * as KoaRouter from '@koa/router';
{{#if useFileUploads}}
const multer = require('@koa/multer');
import multer from '@koa/multer';
const upload = multer({{{json multerOpts}}});
{{/if}}

Expand Down

0 comments on commit 169818e

Please sign in to comment.