mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
* add notes * fix build * Commit from GitHub Actions (Publish APIs & Clients) Co-authored-by: asim <asim@users.noreply.github.com>
13 lines
297 B
JavaScript
Executable File
13 lines
297 B
JavaScript
Executable File
import * as notes from "m3o/notes";
|
|
|
|
// Delete a note
|
|
async function DeleteAnote() {
|
|
let notesService = new notes.NotesService(process.env.MICRO_API_TOKEN);
|
|
let rsp = await notesService.delete({
|
|
id: "63c0cdf8-2121-11ec-a881-0242e36f037a",
|
|
});
|
|
console.log(rsp);
|
|
}
|
|
|
|
await DeleteAnote();
|