feat: rename Application Solutions to Agentic Apps in docs, UI, and codebase

This commit is contained in:
mik-tf
2025-09-08 11:43:53 -04:00
parent 2ddd538941
commit bfc24070d7
14 changed files with 46 additions and 46 deletions

View File

@@ -804,8 +804,8 @@ impl OrderService {
// Only create deployments for application products
if item.product_category == "application" {
// Find the app provider by looking up who published this app
if let Some(app_provider_email) = self.find_app_provider(&item.product_id) {
// Find the application provider by looking up who published this app
if let Some(application_provider_email) = self.find_application_provider(&item.product_id) {
// Create deployment for each quantity ordered
for _i in 0..item.quantity {
@@ -838,7 +838,7 @@ impl OrderService {
.unwrap();
// Add deployment to application provider's data
if let Err(e) = UserPersistence::add_user_application_deployment(&app_provider_email, deployment.clone()) {
if let Err(e) = UserPersistence::add_user_application_deployment(&application_provider_email, deployment.clone()) {
} else {
}
@@ -857,8 +857,8 @@ impl OrderService {
Ok(())
}
/// Find the app provider (user who published the app) by product ID
fn find_app_provider(&self, product_id: &str) -> Option<String> {
/// Find the application provider (user who published the app) by product ID
fn find_application_provider(&self, product_id: &str) -> Option<String> {
// Get all user data files and search for the app
let user_data_dir = std::path::Path::new("user_data");
if !user_data_dir.exists() {