Преглед на файлове

Change module to Image, change default format value to PNG

j433866 преди 6 години
родител
ревизия
b3113c109b
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      src/core/operations/GenerateQRCode.mjs

+ 3 - 3
src/core/operations/GenerateQRCode.mjs

@@ -22,9 +22,9 @@ class GenerateQRCode extends Operation {
         super();
 
         this.name = "Generate QR Code";
-        this.module = "QRCode";
+        this.module = "Image";
         this.description = "Generates a QR code from text.";
-        this.infoURL = "https://en.wikipedia.org/wiki/QR_code";
+        this.infoURL = "https://wikipedia.org/wiki/QR_code";
         this.inputType = "string";
         this.outputType = "byteArray";
         this.presentType = "html";
@@ -32,7 +32,7 @@ class GenerateQRCode extends Operation {
             {
                 "name": "Image Format",
                 "type": "option",
-                "value": ["SVG", "PNG"]
+                "value": ["PNG", "SVG"]
             },
             {
                 "name": "Size of QR module",