From 45227392315f4b8b7566ffe65756ca13dc55b9f8 Mon Sep 17 00:00:00 2001 From: Erez Rokah Date: Mon, 10 Feb 2020 20:06:43 +0200 Subject: [PATCH] fix: fs proxy info action (#3225) --- .../netlify-cms-proxy-server/src/middlewares/localFs/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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