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:
parent
9245e2593b
commit
e87715ba31
@ -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"`
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user