Skip to content

Commit b13ba39

Browse files
authored
Merge pull request #187 from rockpell/fix/channel-name
Fix Invite DM API
2 parents e25cc6b + 01ca354 commit b13ba39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/service/channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const findChannelIdByName = async ({ title }) => {
179179

180180
return {
181181
code: statusCode.OK,
182-
data: channelData._id,
182+
data: channelData?._id,
183183
success: true,
184184
}
185185
}

0 commit comments

Comments
 (0)