mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-09 16:23:14 +00:00
Throw capability request exception.
This commit is contained in:
@@ -277,8 +277,7 @@ export default class WidgetMessaging extends MatrixPostMessageApi {
|
|||||||
return this.exec({
|
return this.exec({
|
||||||
api: OUTBOUND_API_NAME,
|
api: OUTBOUND_API_NAME,
|
||||||
action: "capabilities",
|
action: "capabilities",
|
||||||
}).then((response) => response.capabilities)
|
}).then((response) => response.capabilities);
|
||||||
.catch((error) => new Error("Failed to get capabilities: " + error.message));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user