Skip to content

Commit 5337622

Browse files
committed
Changes while reviewing and testing
1 parent ff149f9 commit 5337622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/__tests__/contentType.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import rest from '../../rest.js'
66
const routeTester = express()
77
routeTester.use(express.json({ type: ["application/json", "application/ld+json"] }))
88
routeTester.use(express.text())
9-
routeTester.use(express.urlencoded({ extended: false }))
9+
routeTester.use(express.urlencoded({ extended: true }))
1010

1111
// Mount the validateContentType middleware on /api just like api-routes.js
1212
routeTester.use("/api", rest.validateContentType)

0 commit comments

Comments
 (0)