Skip to content

Commit

Permalink
🐛 Fix method call to retrieve API from plugin service in BaseIframeSe…
Browse files Browse the repository at this point in the history
…rvice
  • Loading branch information
volterra79 committed Feb 11, 2025
1 parent b2159b9 commit d6f1ca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class BaseIframeService extends G3WObject {
.onafter('registerPlugin', async plugin => {
await plugin.isReady();
if (plugin.getName() === this.pluginName) {
this.setDependencyApi(plugin.getApi());
this.setDependencyApi(plugin.getService().getApi());
this.setReady(true);
}
})
Expand Down

0 comments on commit d6f1ca7

Please sign in to comment.