ali před 3 roky
rodič
revize
0b3bff4524

+ 1 - 1
src/components/Widgets/Event/ShowEventInfo/ShowEventInfo.vue

@@ -356,7 +356,7 @@ export default {
       }).onOk(() => {
         this.dropLoading = true
         const eventId = this.$route.params.id
-        APIGateway.event.dropByUser(eventId)
+        APIGateway.classroom.dropByUser(eventId)
           .then(() => {
             this.dropLoading = false
             this.reloadEvent()

+ 1 - 1
src/components/Widgets/Other/Shop/ShopCompleteInfo/ShopCompleteInfo.vue

@@ -283,7 +283,7 @@ export default {
                 message: 'ثبت نام شما با موفقیت انجام شد.',
                 type: 'positive'
               })
-              const eventRegistrationId = data.model.id
+              const eventRegistrationId = data.model.classroom_info.id
               if (this.$route.query.source === 'event') {
                 this.$router.push({ name: 'UserPanel.Profile.EventInfo', params: { id: eventRegistrationId } })
               } else {