mirror of
https://github.com/zadam/trilium.git
synced 2024-11-17 13:14:44 +08:00
14 lines
No EOL
263 B
JavaScript
14 lines
No EOL
263 B
JavaScript
"use strict";
|
|
|
|
const RecentNote = require('../../entities/recent_note');
|
|
|
|
async function addRecentNote(req) {
|
|
await new RecentNote({
|
|
noteId: req.body.noteId,
|
|
notePath: req.body.notePath
|
|
}).save();
|
|
}
|
|
|
|
module.exports = {
|
|
addRecentNote
|
|
}; |