We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872aeda commit 255d043Copy full SHA for 255d043
core/user/user.go
@@ -8,7 +8,7 @@ import (
8
9
// User is a basic entity of a user
10
type User struct {
11
- ID string `json:"-" diff:"-" db:"id"`
+ ID string `json:"id" diff:"-" db:"id"`
12
Email string `json:"email" diff:"email" db:"email"`
13
Provider string `json:"provider" diff:"-" db:"provider"`
14
CreatedAt time.Time `json:"-" diff:"-" db:"created_at"`
internal/server/v1beta1/user.go
@@ -252,6 +252,7 @@ func userToProto(u user.User) *compassv1beta1.User {
252
return nil
253
}
254
return &compassv1beta1.User{
255
+ Id: u.ID,
256
Email: u.Email,
257
258
0 commit comments