Skip to content

Commit 17e95f6

Browse files
authored
fix: user payload (#191)
1 parent 031ef4a commit 17e95f6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/backend/src/api/v1/users.ts

-4
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,12 @@ users.get("/me/org", async (ctx: Context) => {
3434
select
3535
account.id,
3636
account.created_at,
37-
account.recovery_token,
3837
account.email,
3938
account.org_id,
4039
account.role,
4140
account.verified,
4241
account.avatar_url,
4342
account.last_login_at,
44-
account.single_use_token,
4543
array_agg(account_project.project_id) as projects
4644
from
4745
account
@@ -66,14 +64,12 @@ users.get("/me", async (ctx: Context) => {
6664
select
6765
account.id,
6866
account.created_at,
69-
account.recovery_token,
7067
account.email,
7168
account.org_id,
7269
account.role,
7370
account.verified,
7471
account.avatar_url,
7572
account.last_login_at,
76-
account.single_use_token,
7773
array_agg(account_project.project_id) as projects
7874
from
7975
account

0 commit comments

Comments
 (0)