mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
15 lines
252 B
JavaScript
15 lines
252 B
JavaScript
"use strict";
|
|
|
|
const RecentNote = require('../../entities/recent_note');
|
|
|
|
function addRecentNote(req) {
|
|
new RecentNote({
|
|
noteId: req.body.noteId,
|
|
notePath: req.body.notePath
|
|
}).save();
|
|
}
|
|
|
|
module.exports = {
|
|
addRecentNote
|
|
};
|