fix force note sync

This commit is contained in:
azivner 2018-04-06 18:46:29 -04:00
parent 867d794e17
commit 29769ed91d
2 changed files with 3 additions and 2 deletions

View file

@ -8,6 +8,7 @@ import treeUtils from './tree_utils.js';
import branchPrefixDialog from '../dialogs/branch_prefix.js';
import infoService from "./info.js";
import treeCache from "./tree_cache.js";
import syncService from "./sync.js";
const $tree = $("#tree");

View file

@ -1,4 +1,4 @@
import utils from './utils.js';
import server from './server.js';
import infoService from "./info.js";
async function syncNow() {
@ -19,7 +19,7 @@ async function syncNow() {
$("#sync-now-button").click(syncNow);
async function forceNoteSync(noteId) {
const result = await server.post('sync/force-note-sync/' + noteId);
await server.post('sync/force-note-sync/' + noteId);
infoService.showMessage("Note added to sync queue.");
}