mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-13 03:25:32 +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:
12
examples/notes/read/node/readANote.js
Executable file
12
examples/notes/read/node/readANote.js
Executable file
@@ -0,0 +1,12 @@
|
||||
import * as notes from "m3o/notes";
|
||||
|
||||
// Read a note
|
||||
async function ReadAnote() {
|
||||
let notesService = new notes.NotesService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await notesService.read({
|
||||
id: "63c0cdf8-2121-11ec-a881-0242e36f037a",
|
||||
});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await ReadAnote();
|
||||
Reference in New Issue
Block a user