Parcourir la source

Fix test error

rigwild il y a 5 ans
Parent
commit
ad1b2ef9f6
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      server/routes/getImageExtracts.js

+ 2 - 2
server/routes/getImageExtracts.js

@@ -8,14 +8,14 @@ import boom from 'boom'
 
 import { asyncMiddleware, checkSceneName, checkRequiredParameters } from '../functions'
 import { imageServedUrl, imagesPath, extractsDirName } from '../../config'
-import { getImage, Image } from './getImage' // eslint-disable-line no-unused-vars
+import { getImage } from './getImage'
 
 const router = express.Router()
 
 /**
  * Cut an image, save its extracts and get the url of these extracts
  *
- * @param {Image} image the path to the image to cut
+ * @param {object} image the path to the image to cut
  * @param {Number} xExtracts the number of extract to do on the horizontal axis (integer)
  * @param {Number} yExtracts the number of extract to do on the vertical axis (integer)
  * @returns {Promise<Image[]>} the list of extracted images