Skip to content

Commit

Permalink
Pass first parameter from trigger call on to the resolved promise
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Jan 3, 2025
1 parent 615397b commit 0639980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/headless/shared/api/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default {
}
const promise = _converse.promises[name];
if (promise !== undefined) {
promise.resolve();
promise.resolve(arguments[1]);
}
},

Expand Down

0 comments on commit 0639980

Please sign in to comment.