Skip to content

Commit 19a65aa

Browse files
committed
Gutenberg: Fix API middleware tests
1 parent 494aab8 commit 19a65aa

File tree

1 file changed

+1
-1
lines changed
  • client/gutenberg/editor/api-middleware

1 file changed

+1
-1
lines changed

client/gutenberg/editor/api-middleware/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const debugMiddleware = ( options, next ) => {
2929

3030
// Rewrite default API paths to match WP.com equivalents. Note that
3131
// passed apiNamespace will be prepended to the replaced path.
32-
const wpcomPathMappingMiddleware = ( options, next, siteSlug ) => {
32+
export const wpcomPathMappingMiddleware = ( options, next, siteSlug ) => {
3333
// wp/v2 namespace mapping
3434
//
3535
// Path rewrite example:

0 commit comments

Comments
 (0)