Fix: Error when trying to access externalMeetingID for unmapped meeting

This commit is contained in:
italo 2017-09-06 19:37:36 +00:00
parent 9877a9dbe3
commit 013896ff93

View File

@ -120,7 +120,9 @@ module.exports = class IDMapping {
}
static getExternalMeetingID(internalMeetingID) {
return db[internalMeetingID].externalMeetingID;
if (db[internalMeetingID]){
return db[internalMeetingID].externalMeetingID;
}
}
static findByExternalMeetingID(externalMeetingID) {