From 267476c651a21013296c5b66216b79d88fa30725 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Thu, 15 Oct 2020 17:59:32 +0200 Subject: [PATCH] Removing TODO --- back/src/Controller/AuthenticateController.ts | 2 +- front/src/WebRtc/SimplePeer.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/back/src/Controller/AuthenticateController.ts b/back/src/Controller/AuthenticateController.ts index 446e5d19..321386a2 100644 --- a/back/src/Controller/AuthenticateController.ts +++ b/back/src/Controller/AuthenticateController.ts @@ -36,7 +36,7 @@ export class AuthenticateController extends BaseController { //todo: what to do if the organizationMemberToken is already used? const organizationMemberToken:string|null = param.organizationMemberToken; - + try { if (typeof organizationMemberToken != 'string') throw new Error('No organization token'); const data = await adminApi.fetchMemberDataByToken(organizationMemberToken); diff --git a/front/src/WebRtc/SimplePeer.ts b/front/src/WebRtc/SimplePeer.ts index 5c77ab79..718837b7 100644 --- a/front/src/WebRtc/SimplePeer.ts +++ b/front/src/WebRtc/SimplePeer.ts @@ -143,7 +143,6 @@ export class SimplePeer { mediaManager.removeActiveVideo("" + user.userId); - //TODO ad condition isPublic or annonyme const reportCallback = this.enableReporting ? (comment: string) => { this.reportUser(user.userId, comment); }: undefined;