From 23d1c2433b0db2d362625c083a8a4f55d8fca4e6 Mon Sep 17 00:00:00 2001 From: Zack Fu Zi Xiang Date: Mon, 8 Jul 2024 14:50:52 +0800 Subject: [PATCH] chore: fix naming consistency --- libs/shared-entity/src/dto/billing_dto.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/shared-entity/src/dto/billing_dto.rs b/libs/shared-entity/src/dto/billing_dto.rs index a406fb81..35b26ab9 100644 --- a/libs/shared-entity/src/dto/billing_dto.rs +++ b/libs/shared-entity/src/dto/billing_dto.rs @@ -26,8 +26,8 @@ pub enum SubscriptionPlan { Pro = 1, Team = 2, - AIMax = 3, - AILocal = 4, + AiMax = 3, + AiLocal = 4, } impl AsRef for SubscriptionPlan { @@ -36,8 +36,8 @@ impl AsRef for SubscriptionPlan { SubscriptionPlan::Free => "free", SubscriptionPlan::Pro => "pro", SubscriptionPlan::Team => "team", - SubscriptionPlan::AIMax => "ai_max", - SubscriptionPlan::AILocal => "ai_local", + SubscriptionPlan::AiMax => "ai_max", + SubscriptionPlan::AiLocal => "ai_local", SubscriptionPlan::Unknown => "unknown", } }