pub fn find_by_id_prime_cache(
id: Uuid,
headers: HeaderMap,
) -> Result<ShortUserResponse, String>
Expand description
Primes the cached function find_by_id
.
Returns a ShortUserResponse
. Gives information about the provided user id.
§Example
§Data
URL: get - “user/{user_id}”
Required Role: Registered
§Caching
This is a cached function that uses the FIND_BY_ID
cached static.