Function backend::service::blossoms::gain

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

The user gains the specified Blossom.

Errors

If the connection to the database could not be established.