mirror of
https://github.com/zadam/trilium.git
synced 2025-11-11 15:55:52 +01:00
syncification
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
const keyboardActions = require('../../services/keyboard_actions');
|
||||
const sql = require('../../services/sql');
|
||||
|
||||
async function getKeyboardActions() {
|
||||
return await keyboardActions.getKeyboardActions();
|
||||
function getKeyboardActions() {
|
||||
return keyboardActions.getKeyboardActions();
|
||||
}
|
||||
|
||||
async function getShortcutsForNotes() {
|
||||
return await sql.getMap(`
|
||||
function getShortcutsForNotes() {
|
||||
return sql.getMap(`
|
||||
SELECT value, noteId
|
||||
FROM attributes
|
||||
WHERE isDeleted = 0
|
||||
@@ -19,4 +19,4 @@ async function getShortcutsForNotes() {
|
||||
module.exports = {
|
||||
getKeyboardActions,
|
||||
getShortcutsForNotes
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user