Update
This commit is contained in:
1 parent
4f15788983
commit
eaabb7cc65
36 files changed
+2116
-80
No files matched your search
@@ -1,11 +1,11 @@
|
||||
const fs = require('fs');
|
||||
const path = require('../routes/users.js').path;
|
||||
const imagePath = require('../routes/users.js').defaultPath;
|
||||
|
||||
let image = {
|
||||
data: fs.readFileSync(path),
|
||||
data: fs.readFileSync(imagePath),
|
||||
contentType: "image/png"
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
defaultImage: image
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user