Skip to content

Commit 510c5d8

Browse files
committed
Fix forcing oAuth 2.0 requests
1 parent 889cf82 commit 510c5d8

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

dist/scripts/api-console.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3565,11 +3565,6 @@ RAML.Inspector = (function() {
35653565
function expects (obj, props) {
35663566
for (var i = 0; i < props.length; i++) {
35673567
var prop = props[i];
3568-
3569-
// Check whether the property is empty.
3570-
if (obj[prop] == null) {
3571-
throw new TypeError('Expected "' + prop + '" to exist');
3572-
}
35733568
}
35743569
}
35753570

src/vendor/client-oauth2/client-oauth2.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,6 @@
101101
function expects (obj, props) {
102102
for (var i = 0; i < props.length; i++) {
103103
var prop = props[i];
104-
105-
// Check whether the property is empty.
106-
if (obj[prop] == null) {
107-
throw new TypeError('Expected "' + prop + '" to exist');
108-
}
109104
}
110105
}
111106

0 commit comments

Comments
 (0)