From 2fedd5e747c815f1cbef2ab541d70ed37644c486 Mon Sep 17 00:00:00 2001 From: domwong Date: Wed, 17 Nov 2021 16:57:39 +0000 Subject: [PATCH] Commit from GitHub Actions (Generate Clients & Examples) --- clients/go/user/user.go | 6 +++--- clients/ts/package.json | 2 +- examples/db/create/go/createARecord.go | 4 ++-- examples/event/publish/go/publishAnEvent.go | 2 +- .../user/sendVerificationEmail/go/sendVerificationEmail.go | 2 +- .../sendVerificationEmail/node/sendVerificationEmail.js | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/clients/go/user/user.go b/clients/go/user/user.go index c2e5b5c..70e2444 100755 --- a/clients/go/user/user.go +++ b/clients/go/user/user.go @@ -67,7 +67,7 @@ func (t *UserService) SendPasswordResetEmail(request *SendPasswordResetEmailRequ } // Send a verification email -// to the user being signed up. Email from will be from 'support@m3o.com', +// to the user being signed up. Email from will be from 'noreply@email.m3ocontent.com', // but you can provide the title and contents. // The verification link will be injected in to the email as a template variable, $micro_verification_link. // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' @@ -202,7 +202,7 @@ type ResetPasswordResponse struct { type SendPasswordResetEmailRequest struct { // email address to send reset for Email string `json:"email"` - // Display name of the sender for the email. Note: the email address will still be 'support@m3o.com' + // Display name of the sender for the email. Note: the email address will still be 'noreply@email.m3ocontent.com' FromName string `json:"fromName"` // subject of the email Subject string `json:"subject"` @@ -218,7 +218,7 @@ type SendVerificationEmailRequest struct { // email address to send the verification code Email string `json:"email"` FailureRedirectUrl string `json:"failureRedirectUrl"` - // Display name of the sender for the email. Note: the email address will still be 'support@m3o.com' + // Display name of the sender for the email. Note: the email address will still be 'noreply@email.m3ocontent.com' FromName string `json:"fromName"` RedirectUrl string `json:"redirectUrl"` // subject of the email diff --git a/clients/ts/package.json b/clients/ts/package.json index 3ba6cc1..81e9086 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -79,5 +79,5 @@ "prepare": "npm run build" }, "types": "index.d.ts", - "version": "1.0.763" + "version": "1.0.765" } \ No newline at end of file diff --git a/examples/db/create/go/createARecord.go b/examples/db/create/go/createARecord.go index 08be46f..283dd5d 100755 --- a/examples/db/create/go/createARecord.go +++ b/examples/db/create/go/createARecord.go @@ -12,10 +12,10 @@ func CreateArecord() { dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) rsp, err := dbService.Create(&db.CreateRequest{ Record: map[string]interface{}{ - "age": 42, - "isActive": true, "id": "1", "name": "Jane", + "age": 42, + "isActive": true, }, Table: "users", }) diff --git a/examples/event/publish/go/publishAnEvent.go b/examples/event/publish/go/publishAnEvent.go index fd9dc17..cd945dc 100755 --- a/examples/event/publish/go/publishAnEvent.go +++ b/examples/event/publish/go/publishAnEvent.go @@ -12,9 +12,9 @@ func PublishAnEvent() { eventService := event.NewEventService(os.Getenv("MICRO_API_TOKEN")) rsp, err := eventService.Publish(&event.PublishRequest{ Message: map[string]interface{}{ - "user": "john", "id": "1", "type": "signup", + "user": "john", }, Topic: "user", }) diff --git a/examples/user/sendVerificationEmail/go/sendVerificationEmail.go b/examples/user/sendVerificationEmail/go/sendVerificationEmail.go index e641773..7e65229 100755 --- a/examples/user/sendVerificationEmail/go/sendVerificationEmail.go +++ b/examples/user/sendVerificationEmail/go/sendVerificationEmail.go @@ -8,7 +8,7 @@ import ( ) // Send a verification email -// to the user being signed up. Email from will be from 'support@m3o.com', +// to the user being signed up. Email from will be from 'noreply@email.m3ocontent.com', // but you can provide the title and contents. // The verification link will be injected in to the email as a template variable, $micro_verification_link. // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link' diff --git a/examples/user/sendVerificationEmail/node/sendVerificationEmail.js b/examples/user/sendVerificationEmail/node/sendVerificationEmail.js index 47600ee..17fb901 100755 --- a/examples/user/sendVerificationEmail/node/sendVerificationEmail.js +++ b/examples/user/sendVerificationEmail/node/sendVerificationEmail.js @@ -1,7 +1,7 @@ const { UserService } = require("m3o/user"); // Send a verification email -// to the user being signed up. Email from will be from 'support@m3o.com', +// to the user being signed up. Email from will be from 'noreply@email.m3ocontent.com', // but you can provide the title and contents. // The verification link will be injected in to the email as a template variable, $micro_verification_link. // Example: 'Hi there, welcome onboard! Use the link below to verify your email: $micro_verification_link'