From 3191fc2aed22504a49a32b635033579055a23e17 Mon Sep 17 00:00:00 2001 From: Vibhu Dujari Date: Wed, 15 May 2024 15:50:19 +0530 Subject: [PATCH] add CAMERAACCESSDENIED to switch case --- app/pods/contests/contest/attempt/controller.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/pods/contests/contest/attempt/controller.js b/app/pods/contests/contest/attempt/controller.js index 3873ba9..3101833 100644 --- a/app/pods/contests/contest/attempt/controller.js +++ b/app/pods/contests/contest/attempt/controller.js @@ -40,6 +40,13 @@ export default class AttemptController extends Controller{ } }) break; + case "CAMERAACCESSDENIED": + this.transitionToRoute('contests.contest', this.contest.id, { + queryParams: { + monitorerError: detail.code + } + }) + break; } }