mirror of
https://github.com/kevin-DL/m3o-go.git
synced 2026-01-18 05:05:14 +00:00
Commit from m3o/m3o action
This commit is contained in:
@@ -11,8 +11,9 @@ import (
|
||||
func main() {
|
||||
userService := user.NewUserService(os.Getenv("M3O_API_TOKEN"))
|
||||
rsp, err := userService.Update(&user.UpdateRequest{
|
||||
Email: "joe+2@example.com",
|
||||
Id: "user-1",
|
||||
Email: "joe+2@example.com",
|
||||
Id: "user-1",
|
||||
Username: "joe",
|
||||
})
|
||||
fmt.Println(rsp, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user