We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5d8e0 commit 9708fc8Copy full SHA for 9708fc8
components/u301/actions/create-qrcode/create-qrcode.mjs
@@ -28,13 +28,10 @@ export default {
28
},
29
30
async run({ $ }) {
31
- const response = await this.app.createQrCode({
+ const { app, ...params } = this;
32
+ const response = await app.createQrCode({
33
$,
- params: {
34
- url: this.url,
35
- width: this.width,
36
- margin: this.margin,
37
- },
+ params,
38
});
39
40
$.export("$summary", `Successfully created the QR Code for the url: ${this.url}`);
0 commit comments