about summary refs log tree commit diff
path: root/crawler/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crawler/src/main.rs')
-rw-r--r--crawler/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawler/src/main.rs b/crawler/src/main.rs
index 5c15d14..a831655 100644
--- a/crawler/src/main.rs
+++ b/crawler/src/main.rs
@@ -138,12 +138,12 @@ async fn push_crawl_entry_to_indexer(
     dbg!("Pushin to indexer");
 
     #[derive(Serialize, Debug)]
-    struct Resource {
+    struct CrawledResource {
         url: String,
         content: String,
     }
 
-    let request_body = Resource { url, content };
+    let request_body = CrawledResource { url, content };
 
     match http_client
         .post(&indexer_url)