Open galtenberg opened 6 years ago
Likely called by getNoteStore()
in the evernote
library https://github.com/evernote/evernote-sdk-js/blob/master/src/client.js#L105-L110
What we can do is:
server/controllers/notes.js
have notebooks()
and randomNote()
functions accept a noteStoreUrl
param - pass that into calls to client.getNoteStore(noteStoreUrl)
(here and here)req.session.noteStoreUrl
exists use it and pass it to those functions - otherwise call a function to obtain it, store it in the session
Per Evernote API team:
getUserUrls
evernote doc: http://dev.evernote.com/doc/reference/UserStore.html#Fn_UserStore_getUserUrls