mirror of https://github.com/status-im/codimd.git
fix: lutim not required properly
Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
e72bcfe0ea
commit
421ccbfc25
|
@ -2,7 +2,7 @@
|
||||||
const config = require('../config')
|
const config = require('../config')
|
||||||
const logger = require('../logger')
|
const logger = require('../logger')
|
||||||
|
|
||||||
const lutim = require('lib/imageRouter/lutim')
|
const lutim = require('lutim')
|
||||||
|
|
||||||
exports.uploadImage = function (imagePath, callback) {
|
exports.uploadImage = function (imagePath, callback) {
|
||||||
if (!imagePath || typeof imagePath !== 'string') {
|
if (!imagePath || typeof imagePath !== 'string') {
|
||||||
|
|
Loading…
Reference in New Issue