diff --git a/FrontEnd/pages/service/checkout/_id.vue b/FrontEnd/pages/service/checkout/_id.vue index 0124954..570a891 100644 --- a/FrontEnd/pages/service/checkout/_id.vue +++ b/FrontEnd/pages/service/checkout/_id.vue @@ -683,7 +683,7 @@ export default { console.log(err); }); }, - payNow() { + async payNow() { let isPass1 = this.$refs.ref_Booking.getValidation();//this.bookingDetail_Validation; let isPass2 = true; this.$refs.purchaserInfo.updatePurchaserInfo(true);//this.purchaserInfo_Validation; @@ -741,7 +741,7 @@ export default { this.isLoading = true; let jsonData = null; let statusCode = 'failed' - this.$axios.post( `/trending/api/Onsite/Booking`, params) + await this.$axios.post( `/trending/api/Onsite/Booking`, params) .then((response) => { //console.log(response); this.isLoading = false;