Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hmt committed Feb 16, 2021
1 parent 4bceb65 commit 4b2443e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bbb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ export class BBB {
// check if request is autheticated with correct checksum
authenticated = (secret: string) => {
const checksum = this.generate_checksum(secret)
console.log(`Rejected incoming call to ${this.call}`)
return checksum === this.checksum_incoming
const ok = checksum === this.checksum_incoming
if (!ok) console.log(`Rejected incoming call to ${this.call}`)
return ok
}
find_meeting_id = (servers: server[]): Promise<server> => {
if (!this.meeting_id) throw Error
Expand Down

0 comments on commit 4b2443e

Please sign in to comment.