Skip to content

Commit

Permalink
feat : update services/guest.service.js (#85)
Browse files Browse the repository at this point in the history
내가 받은 할인 API 연결
  • Loading branch information
JungYeonHwi committed Nov 2, 2023
1 parent 41e343f commit c7c4076
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion services/guest.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,24 @@ const getNickName = async() => {
}
}

const getDiscountDetail = async() => {
try {
const data = await guestApi.getDiscountDetail();
return data;
} catch (error) {
throw error;
}
}

const guestService = {
login,
ownerLogin,
checkSameId,
submitRegister,
submitOwnerRegister,
submitStudentCard,
getNickName
getNickName,
getDiscountDetail
}

export default guestService;

0 comments on commit c7c4076

Please sign in to comment.