Function backend::service::blossoms::gain

source ·
pub async fn gain(
    gained_blossom: GainedBlossomsDto,
    user_id: Uuid,
    pool: &SharedPool,
) -> Result<GainedBlossomsDto, ServiceError>
Expand description

The user gains the specified Blossom.

§Errors

If the connection to the database could not be established.