Skip to content

Commit

Permalink
Hotfix : _getLikeList에서 _likeList 변수 선언에 let 빠진 오류 fix
Browse files Browse the repository at this point in the history
''
  • Loading branch information
winocreative committed Jun 7, 2023
1 parent 1b03774 commit 186c72f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/service/commentService.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ const _getLikeList = async (commentId) => { //NOT FOR EXPORT
COMMENTID: commentId
}
});
_likeList = [];
let _likeList = [];
for (let i in likeList) {
_likeList.push(likeList[i].dataValues);
}
return _likeList;
} catch (err) {
console.log(err);
return [];
}
}
Expand Down

0 comments on commit 186c72f

Please sign in to comment.