mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-13 19:45:26 +00:00
Commit from GitHub Actions (Generate Clients & Examples)
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"github.com/micro/services/clients/go/notes"
|
||||
)
|
||||
|
||||
// Specify the note to events
|
||||
// Subscribe to notes events
|
||||
func SubscribeToEvents() {
|
||||
notesService := notes.NewNotesService(os.Getenv("MICRO_API_TOKEN"))
|
||||
rsp, err := notesService.Events(¬es.EventsRequest{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const { NotesService } = require("m3o/notes");
|
||||
|
||||
// Specify the note to events
|
||||
// Subscribe to notes events
|
||||
async function subscribeToEvents() {
|
||||
let notesService = new NotesService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await notesService.events({
|
||||
|
||||
Reference in New Issue
Block a user