Skip to content

Commit

Permalink
missed to call status api
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishwas1 committed Jul 3, 2024
1 parent 261ff5c commit 8015650
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/e-kyc/Liveliness.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ export default {
isToast: false,
}
},
created() {
EVENT.subscribeEvent(EVENTS.LIVELINESS, this.onVerifyLivelinessStatusEventRecieved);
},
beforeDestroy() {
EVENT.unSubscribeEvent(EVENTS.LIVELINESS, this.onVerifyLivelinessStatusEventRecieved);
},
methods: {
created() {
EVENT.subscribeEvent(EVENTS.LIVELINESS, this.onVerifyLivelinessStatusEventRecieved);
},
beforeDestroy() {
EVENT.unSubscribeEvent(EVENTS.LIVELINESS, this.onVerifyLivelinessStatusEventRecieved);
},
methods: {
...mapMutations(["nextStep", "previousStep"]),
...mapActions(["verifyLiveliness"]),
...mapActions(["verifyLiveliness", "verifyLivelinessStatus"]),
// Demo methods
enableWidget: async function () {
console.warn("[Demo] Start Capture");
Expand Down

0 comments on commit 8015650

Please sign in to comment.