From 01ca354ef9e91196b0cf9d03dce8260c4d70cffe Mon Sep 17 00:00:00 2001 From: rockpell Date: Thu, 17 Dec 2020 19:57:57 +0900 Subject: [PATCH] Fix: invite dm api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dm 생성시 채널 이름을 검색하는 부분에서 생기던 에러 수정 --- backend/service/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/service/channel.js b/backend/service/channel.js index c365dfa1..ea267cc2 100644 --- a/backend/service/channel.js +++ b/backend/service/channel.js @@ -179,7 +179,7 @@ const findChannelIdByName = async ({ title }) => { return { code: statusCode.OK, - data: channelData._id, + data: channelData?._id, success: true, } }