zed/crates/collab/src/services
Marshall Bowers bb18442e2b
collab: Remove database access in Authorization header verification (#56558)
This PR removes the database access in the `Authorization` header
verification in Collab.

We already have the user returned from the call to Cloud, but were just
fetching the user from the database to get some additional fields.

We're now returning the additional fields we need from Cloud, so we can
just convert the user from the internal API response into a `User`
entity.

Closes CLO-762.

Release Notes:

- N/A
2026-05-13 15:17:42 +00:00
..
user_service.rs collab: Remove database access in Authorization header verification (#56558) 2026-05-13 15:17:42 +00:00