diff --git a/packages/netlify-cms-proxy-server/src/middlewares/localFs/index.ts b/packages/netlify-cms-proxy-server/src/middlewares/localFs/index.ts index 16a8a8e5..f52e6514 100644 --- a/packages/netlify-cms-proxy-server/src/middlewares/localFs/index.ts +++ b/packages/netlify-cms-proxy-server/src/middlewares/localFs/index.ts @@ -25,7 +25,7 @@ export const localFsMiddleware = ({ repoPath }: Options) => { const { body } = req; switch (body.action) { - case 'action': { + case 'info': { res.json({ repo: path.basename(repoPath), // eslint-disable-next-line @typescript-eslint/camelcase