Skip to content

Commit

Permalink
Fix: remove async in checkIsSendRequired
Browse files Browse the repository at this point in the history
  • Loading branch information
chlehdwon committed May 20, 2024
1 parent e3a4ad6 commit 1ba4833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/rooms.js
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ const checkIsAbusing = (
* @param {Object} userObject - userObject입니다. ongoingRoom 정보를 포함한 형태의 object여야 합니다.
* @return {Boolean} 송금해야 하는 방이 있는지 여부를 반환합니다.
*/
const checkIsSendRequired = async (userObject) => {
const checkIsSendRequired = (userObject) => {
// user의 참여중인 방의 part 정보만 가져오기
const ongoingRoomParts = userObject.ongoingRoom.map((room) => room.part);
// part에서 자신의 id에 해당하는 part만 가져오기
Expand Down

0 comments on commit 1ba4833

Please sign in to comment.