#Help calling function

5 messages · Page 1 of 1 (latest)

nimble beacon
#

Did you annotate Notes with derive(Serialize) ?

fleet comet
#

Are the notes big or many? If you're not getting any errors my best guess is that the IPC gets upset and throws the notes away

#

Try removing the content and limiting the nr of notes to just 1 and see if that arrives safe and sound

nimble beacon
#

Put const in front of notes = await invoke("get_all_notes", {});

#

to be

const notes = await invoke("get_all_notes", {});