mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
Commit from GitHub Actions (Generate Clients & Examples)
This commit is contained in:
@@ -95,9 +95,11 @@ type Account struct {
|
||||
// unix timestamp
|
||||
Updated int64 `json:"updated,string"`
|
||||
// alphanumeric username
|
||||
Username string `json:"username"`
|
||||
VerificationDate int64 `json:"verificationDate,string"`
|
||||
Verified bool `json:"verified"`
|
||||
Username string `json:"username"`
|
||||
// date of verification
|
||||
VerificationDate int64 `json:"verificationDate,string"`
|
||||
// if the account is verified
|
||||
Verified bool `json:"verified"`
|
||||
}
|
||||
|
||||
type CreateRequest struct {
|
||||
|
||||
@@ -76,5 +76,5 @@
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"types": "index.d.ts",
|
||||
"version": "1.0.590"
|
||||
"version": "1.0.591"
|
||||
}
|
||||
@@ -12,8 +12,8 @@ func UpdateArecord() {
|
||||
dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN"))
|
||||
rsp, err := dbService.Update(&db.UpdateRequest{
|
||||
Record: map[string]interface{}{
|
||||
"age": 43,
|
||||
"id": "1",
|
||||
"age": 43,
|
||||
},
|
||||
Table: "users",
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user