Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-17 20:27:43 +00:00
parent 5ea297aaa8
commit 09113b41a9
36 changed files with 59 additions and 59 deletions

View File

@@ -3,5 +3,5 @@ curl "http://localhost:8080/user/VerifyEmail" \
-H "Authorization: Bearer $MICRO_API_TOKEN" \
-d '{
"email": "joe@example.com",
"token": "t2323t232t"
"token": "012345"
}'

View File

@@ -12,7 +12,7 @@ func VerifyEmail() {
userService := user.NewUserService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := userService.VerifyEmail(&user.VerifyEmailRequest{
Email: "joe@example.com",
Token: "t2323t232t",
Token: "012345",
})
fmt.Println(rsp, err)
}

View File

@@ -5,7 +5,7 @@ async function verifyEmail() {
let userService = new UserService(process.env.MICRO_API_TOKEN);
let rsp = await userService.verifyEmail({
email: "joe@example.com",
token: "t2323t232t",
token: "012345",
});
console.log(rsp);
}