Skip to content

Commit

Permalink
Fix call to send notification (#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
drieJAC authored Nov 1, 2024
1 parent 0ddf7d0 commit 30014a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/views/Exercise/Tasks/Task/Completed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ import { beforeRouteEnter } from './helper';
import { getTaskSteps } from '@/helpers/exerciseHelper';
import FullScreenButton from '@/components/Page/FullScreenButton.vue';
import ProgressBar from '@/components/Page/ProgressBar.vue';
import { httpsCallable } from '@firebase/functions';
import { functions } from '@/firebase';
import { TASK_TYPE } from '@/helpers/constants';
import ActionButton from '@jac-uk/jac-kit/draftComponents/ActionButton.vue';
Expand Down Expand Up @@ -103,7 +104,7 @@ export default {
methods: {
notifyCandidates() {
// Dont do this async as we just want to fire and forget
functions.httpsCallable('sendPublishedFeedbackReportNotifications')({ exerciseId: this.exerciseId, type: this.type });
httpsCallable(functions, 'sendPublishedFeedbackReportNotifications')({ exerciseId: this.exerciseId, type: this.type });
return true;
},
},
Expand Down

0 comments on commit 30014a3

Please sign in to comment.