Adjusting Default User
By default it seems the user with drizzle adapter is just select * from user
but i dont want to return specific fields like updatedAt, where is this logic being done and how can i change it?
1 Reply
other than for
getSession
endpoint, it doesn't return the whole user object. Only the base user object (id, name, image, createdAt, updatedAt). But to adjust the response, for get session endpoint, you can use the custom session plugin