saveJournalEntry

suspend fun saveJournalEntry(journalEntry: JournalEntry): JournalEntry

Use this utility function to create or edit a journal entry. In case you want to edit a note you will need to pass the ID of the entity to edit. The function returns an asynchronous flow with the response of the action. The response is mostly to trigger UI/UX events, in case of failure the SDK will take care internally of retrying.

Return

the created journal entry