Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-10-28 07:48:21 +00:00
parent f5c9b477ac
commit 285526f8cc
3 changed files with 7 additions and 5 deletions

View File

@@ -95,9 +95,11 @@ type Account struct {
// unix timestamp // unix timestamp
Updated int64 `json:"updated,string"` Updated int64 `json:"updated,string"`
// alphanumeric username // alphanumeric username
Username string `json:"username"` Username string `json:"username"`
VerificationDate int64 `json:"verificationDate,string"` // date of verification
Verified bool `json:"verified"` VerificationDate int64 `json:"verificationDate,string"`
// if the account is verified
Verified bool `json:"verified"`
} }
type CreateRequest struct { type CreateRequest struct {

View File

@@ -76,5 +76,5 @@
"prepare": "npm run build" "prepare": "npm run build"
}, },
"types": "index.d.ts", "types": "index.d.ts",
"version": "1.0.590" "version": "1.0.591"
} }

View File

@@ -12,8 +12,8 @@ func UpdateArecord() {
dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN")) dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := dbService.Update(&db.UpdateRequest{ rsp, err := dbService.Update(&db.UpdateRequest{
Record: map[string]interface{}{ Record: map[string]interface{}{
"age": 43,
"id": "1", "id": "1",
"age": 43,
}, },
Table: "users", Table: "users",
}) })