Skip to content

Commit 4b6812d

Browse files
committed
Fix linting issues and format auth/user_mgt.go
1 parent 3d21021 commit 4b6812d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

auth/user_mgt.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ type queryUsersResponse struct {
10621062
// SQLExpression is a query condition used to filter results.
10631063
type SQLExpression struct {
10641064
Email string `json:"email,omitempty"`
1065-
UID string `json:"userId,omitempty"`
1065+
UID string `json:"userId,omitempty"`
10661066
PhoneNumber string `json:"phoneNumber,omitempty"`
10671067
}
10681068

@@ -1082,7 +1082,7 @@ func (q *QueryUsersRequest) MarshalJSON() ([]byte, error) {
10821082
var sortBy string
10831083
if q.SortBy != sortByUnspecified {
10841084
sortBys := map[SortByField]string{
1085-
UID: "USER_ID",
1085+
UID: "USER_ID",
10861086
Name: "NAME",
10871087
CreatedAt: "CREATED_AT",
10881088
LastLoginAt: "LAST_LOGIN_AT",
@@ -1170,7 +1170,6 @@ func (c *baseClient) QueryUsers(ctx context.Context, query *QueryUsersRequest) (
11701170
}, nil
11711171
}
11721172

1173-
11741173
type userQueryResponse struct {
11751174
UID string `json:"localId,omitempty"`
11761175
DisplayName string `json:"displayName,omitempty"`

0 commit comments

Comments
 (0)