pub fn update_principal_to_achievement_status(
    principal: Principal,
    achievement_status: AchievementStatus
) -> Result<(), String>
Expand description

Updates the achievement status for a principal.

§Arguments

  • principal - The principal to update.
  • achievement_status - The new achievement status for the principal.

§Returns

  • Result<(), String> - The result of the update operation.