mirror of
https://github.com/juanfont/headscale.git
synced 2025-08-11 15:27:37 +00:00
restructure command/api to use stable IDs (#2261)
This commit is contained in:
@@ -108,7 +108,7 @@ func (u *User) TailscaleUserProfile() tailcfg.UserProfile {
|
||||
|
||||
func (u *User) Proto() *v1.User {
|
||||
return &v1.User{
|
||||
Id: strconv.FormatUint(uint64(u.ID), util.Base10),
|
||||
Id: uint64(u.ID),
|
||||
Name: u.Name,
|
||||
CreatedAt: timestamppb.New(u.CreatedAt),
|
||||
DisplayName: u.DisplayName,
|
||||
|
Reference in New Issue
Block a user