feat(rust-sdk): improve API key handling for cloud vs self-hosted services in FirecrawlApp

This commit is contained in:
RutamBhagat
2024-12-17 15:11:23 -08:00
parent 3b6edef9fa
commit f47e3114d6
4 changed files with 49 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use crate::crawl::CrawlStatus;
#[derive(Debug, Deserialize, Serialize, Clone)]
pub struct FirecrawlAPIError {
/// Always false.
success: bool,
pub success: bool,
/// Error message
pub error: String,