From 1c1b952d485e572eb2320b641429e07757b2d65f Mon Sep 17 00:00:00 2001 From: Ildar Kamalov Date: Fri, 21 Sep 2018 18:57:27 +0300 Subject: [PATCH] Fix message checking --- client/src/actions/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/actions/index.js b/client/src/actions/index.js index 5c0341fc..df7b5d1c 100644 --- a/client/src/actions/index.js +++ b/client/src/actions/index.js @@ -438,7 +438,7 @@ export const testUpstream = servers => async (dispatch) => { return message; }); - if (testMessages.every(message => message === testMessages[0])) { + if (testMessages.every(message => message === 'OK')) { dispatch(addSuccessToast('All servers is OK')); }