Skip to content

Commit

Permalink
template/koa-rest-api: src/framework/middleware => src/framework/body…
Browse files Browse the repository at this point in the history
…Parser (#1603)
  • Loading branch information
72636c committed Jul 2, 2024
1 parent e6fceec commit 276ee20
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion template/koa-rest-api/src/api/jobs/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Router from '@koa/router';

import { jsonBodyParser } from 'src/framework/middleware';
import { jsonBodyParser } from 'src/framework/bodyParser';

import { getJobsHandler } from './getJobs';
import { postJobHandler } from './postJob';
Expand Down
2 changes: 1 addition & 1 deletion template/koa-rest-api/src/framework/validation.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
mockIdDescription,
} from 'src/testing/types';

import { jsonBodyParser } from './middleware';
import { jsonBodyParser } from './bodyParser';
import { validate } from './validation';

const agent = agentFromMiddleware(jsonBodyParser, (ctx) => {
Expand Down

0 comments on commit 276ee20

Please sign in to comment.