j433866 6 năm trước cách đây
mục cha
commit
0c9db5afe9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/core/operations/ImageOpacity.mjs

+ 1 - 1
src/core/operations/ImageOpacity.mjs

@@ -65,7 +65,7 @@ class ImageOpacity extends Operation {
             const imageBuffer = await image.getBufferAsync(jimp.MIME_PNG);
             return [...imageBuffer];
         } catch (err) {
-            throw new OperateionError(`Error changing image opacity. (${err})`);
+            throw new OperationError(`Error changing image opacity. (${err})`);
         }
     }