Skip to content

Commit 5ec6aa1

Browse files
committed
Fixed security alerts due to documentation.js' use of obsolete disparity package
This was reported to documentation with documentationjs/documentation#1257 and resolved with the merge documentationjs/documentation#1264
1 parent 46e15ae commit 5ec6aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class WebApiBridge {
159159
} = response;
160160
if (this.sendCompletions[msgId]) {
161161
if (error) {
162-
this.sendCompletions[msgId].reject(response);
162+
this.sendCompletions[msgId].reject(response.error);
163163
} else {
164164
this.sendCompletions[msgId].resolve.apply(this, args);
165165
}

0 commit comments

Comments
 (0)