pub async fn save_daily_challenge(
txn: &mut Transaction<'_, Postgres>,
user_id: Uuid,
timezone: String,
challenge: &str,
) -> Result<Uuid>
Expand description
Saves the daily challenge for the user.
This requires a Postgres Transaction instead of connection because we are setting the time zone on a transaction level.