switched to actual api, not stub

This commit is contained in:
brian
2021-03-22 14:13:56 -04:00
parent b04032bc0c
commit b5f5f7569e
4 changed files with 9 additions and 6 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import nanoid from '../nanoid.min.js';
//import api from '../api.js';
import api from '../api-stub.js';
import api from '../api.js';
const load_notes = function(state, dispatch){
api.post('/load-notes', {bin_id: state.bin.id})
+1 -2
View File
@@ -1,5 +1,4 @@
//import api from '../api.js';
import api from '../api-stub.js';
import api from '../api.js';
const edit_handler = function(note_state, dispatch){
dispatch('update-note-editing', {id: note_state.note.id, is_editing: true});
+1 -1
View File
@@ -1,4 +1,4 @@
import api from '../api-stub.js';
import api from '../api.js';
const load_bin_handler = function(state, dispatch, bin_id){
/*