Skip to content

Commit

Permalink
fix: user payload (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughcrt authored Apr 9, 2024
1 parent 031ef4a commit 17e95f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/backend/src/api/v1/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,12 @@ users.get("/me/org", async (ctx: Context) => {
select
account.id,
account.created_at,
account.recovery_token,
account.email,
account.org_id,
account.role,
account.verified,
account.avatar_url,
account.last_login_at,
account.single_use_token,
array_agg(account_project.project_id) as projects
from
account
Expand All @@ -66,14 +64,12 @@ users.get("/me", async (ctx: Context) => {
select
account.id,
account.created_at,
account.recovery_token,
account.email,
account.org_id,
account.role,
account.verified,
account.avatar_url,
account.last_login_at,
account.single_use_token,
array_agg(account_project.project_id) as projects
from
account
Expand Down

0 comments on commit 17e95f6

Please sign in to comment.