@runnerpro/backend 1.6.20 → 1.6.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -283,7 +283,7 @@ const rotateOrientationImage = (data, filePath, image = null, mimetype) => __awa
283
283
  if (!image)
284
284
  image = yield jimp_1.default.read(filePath);
285
285
  const orientation = yield exifr_1.default.orientation(data);
286
- let rotate = 90;
286
+ let rotate = 180;
287
287
  // if ([7, 8].includes(orientation)) rotate = 90;
288
288
  // else if ([3].includes(orientation)) rotate = 180;
289
289
  // else if ([5, 8].includes(orientation)) rotate = -90;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runnerpro/backend",
3
- "version": "1.6.20",
3
+ "version": "1.6.22",
4
4
  "description": "A collection of common backend functions",
5
5
  "exports": {
6
6
  ".": "./lib/cjs/index.js"