Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed Aug 9, 2023
1 parent 4e395f4 commit a1a88ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shadow.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ export class Shadow extends HTMLElement {
async _makeRpcCallAndRender(method, property) {
const urlOrPath = this.getAttribute("rpc-url");
if (isString(urlOrPath)) {
const [url, jwt] = this._getUrlAndJwt(urlOrPath);
try {
const [url, jwt] = this._getUrlAndJwt(urlOrPath);
const result = await makeRpcCall(url)(
{ method, params: /**@type {any}*/ (this)[property] },
isNull(jwt) ? undefined : { jwt },
Expand Down

0 comments on commit a1a88ae

Please sign in to comment.