Function backend::service::map_collaborator::get_all
source · pub async fn get_all(
map_id: i32,
pool: &SharedPool,
keycloak_api: &SharedKeycloakApi,
http_client: &SharedHttpClient,
) -> Result<Vec<MapCollaboratorDto>, ServiceError>
Expand description
Get all collaborators for a map.
§Errors
- If the connection to the database could not be established.
- If the connection to the Keycloak API could not be established.