update libs
This commit is contained in:
1 parent
1b7eef2443
commit
577c1fd1a6
11 files changed
+172
-223
No files matched your search
@@ -2,4 +2,4 @@ package structure
|
||||
|
||||
type IdentitiesRequest struct {
|
||||
Ids []int64 `json:"ids"`
|
||||
}
|
||||
}
|
||||
@@ -2,4 +2,4 @@ package structure
|
||||
|
||||
type DeleteResponse struct {
|
||||
Deleted int
|
||||
}
|
||||
}
|
||||
+7
-7
@@ -1,7 +1,7 @@
|
||||
package structure
|
||||
|
||||
import (
|
||||
"gitlab8.alx/msp2.0/msp-lib/structure"
|
||||
"gitlab.alx/msp2.0/msp-lib/structure"
|
||||
)
|
||||
|
||||
type UsersResponse struct {
|
||||
@@ -17,10 +17,10 @@ type UsersRequest struct {
|
||||
}
|
||||
|
||||
type AdminUserShort struct {
|
||||
TableName string `sql:"admin_service.users" json:"-"`
|
||||
Image string `json:"image"`
|
||||
FirstName string `json:"firstName"`
|
||||
LastName string `json:"lastName"`
|
||||
Email string `json:"email" valid:"required~Required"`
|
||||
Phone string `json:"phone"`
|
||||
TableName string `sql:"admin_service.users" json:"-"`
|
||||
Image string `json:"image"`
|
||||
FirstName string `json:"firstName"`
|
||||
LastName string `json:"lastName"`
|
||||
Email string `json:"email" valid:"required~Required"`
|
||||
Phone string `json:"phone"`
|
||||
}
|
||||
Reference in new issue
Block a user