Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-02 15:19:53 +00:00
parent a5a1b8a7db
commit 37c93e463a
2 changed files with 3 additions and 3 deletions

View File

@@ -77,5 +77,5 @@
"prepare": "npm run build" "prepare": "npm run build"
}, },
"types": "index.d.ts", "types": "index.d.ts",
"version": "1.0.607" "version": "1.0.610"
} }

View File

@@ -12,10 +12,10 @@ func CreateArecord() {
dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := dbService.Create(&db.CreateRequest{ rsp, err := dbService.Create(&db.CreateRequest{
Record: map[string]interface{}{ Record: map[string]interface{}{
"age": 42,
"isActive": true,
"id": "1", "id": "1",
"name": "Jane", "name": "Jane",
"age": 42,
"isActive": true,
}, },
Table: "users", Table: "users",
}) })