Skip to content

Commit 319e756

Browse files
author
Adam Duncan
committed
Fix test
1 parent f2334fc commit 319e756

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ var generateRfc2617Response = function(username, realm, password, nonce, uri, me
113113
};
114114

115115
var getDecoderOptions = function(audioOptions) {
116+
if (!audioOptions) return {}
116117
var decoderOptions = {
117118
frameLength: parseInt(audioOptions[1], 10),
118119
compatibleVersion: parseInt(audioOptions[2], 10),

0 commit comments

Comments
 (0)