Removing TODO

This commit is contained in:
David Négrier 2020-10-15 17:59:32 +02:00
parent 0ea7240834
commit 267476c651
2 changed files with 1 additions and 2 deletions

View file

@ -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);

View file

@ -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;