1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-02 22:17:10 +08:00

dont retrieve groups (#1392)

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
This commit is contained in:
Mirko Teodorovic 2021-03-23 12:20:56 +01:00 committed by GitHub
parent 9245e2593b
commit e87715ba31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,6 @@ import (
"net/http"
"github.com/mainflux/mainflux"
"github.com/mainflux/mainflux/auth"
)
var (
@ -93,7 +92,6 @@ func (res updateUserRes) Empty() bool {
type viewUserRes struct {
ID string `json:"id"`
Email string `json:"email"`
Groups []auth.Group `json:"groups"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
}