From d7f2fbda236f564ac6f7f13de8a56fa9ab234708 Mon Sep 17 00:00:00 2001 From: Redume Date: Mon, 19 Feb 2024 17:18:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D1=83=20=D1=81=20=D0=BF?= =?UTF-8?q?=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/errorResponse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/errorResponse.js b/utils/errorResponse.js index 5e88c08..2a4eb15 100644 --- a/utils/errorResponse.js +++ b/utils/errorResponse.js @@ -1,7 +1,7 @@ function response(status, statusCode, message) { return { status: status, - statusCode: status, + statusCode: statusCode, data: { message: message }