1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Api: Added method to get notes

This commit is contained in:
Laurent Cozic
2018-09-27 18:35:10 +00:00
parent 8a619e4b8b
commit ef711af5b5
7 changed files with 322 additions and 79 deletions

View File

@ -196,6 +196,7 @@ function shimInit() {
const nodeFetch = require('node-fetch');
// Not used??
shim.readLocalFileBase64 = (path) => {
const data = fs.readFileSync(path);
return new Buffer(data).toString('base64');