Skip to content

Commit

Permalink
chore: get account_v2 last_seen
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubisoft-potato committed Oct 21, 2024
1 parent 217f4aa commit 5cd40dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/account/storage/v2/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func (s *accountStorage) GetAccountV2(ctx context.Context, email, organizationID
&account.Disabled,
&account.CreatedAt,
&account.UpdatedAt,
&account.LastSeen,
&mysql.JSONObject{Val: &account.SearchFilters},
)
if err != nil {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ SELECT
a.disabled,
a.created_at,
a.updated_at,
a.last_seen,
a.search_filters
FROM
account_v2 AS a
Expand Down

0 comments on commit 5cd40dc

Please sign in to comment.