mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-13 19:45:26 +00:00
add notes (#218)
* add notes * fix build * Commit from GitHub Actions (Publish APIs & Clients) Co-authored-by: asim <asim@users.noreply.github.com>
This commit is contained in:
10
examples/notes/list/node/listAllNotes.js
Executable file
10
examples/notes/list/node/listAllNotes.js
Executable file
@@ -0,0 +1,10 @@
|
||||
import * as notes from "m3o/notes";
|
||||
|
||||
// List all the notes
|
||||
async function ListAllNotes() {
|
||||
let notesService = new notes.NotesService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await notesService.list({});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await ListAllNotes();
|
||||
Reference in New Issue
Block a user