Do not write contents
@@ -16,7 +16,6 @@ use crate::{
rfd::{GitHubRFDBranch, GitHubRFDReadmeLocation, GitHubRFDRepo, GitHubRFDUpdate, RFDContent},
schema::rfds as r_f_ds,
schema::rfds,
- utils::truncate,
};
/// The data type for an RFD.
@@ -340,10 +339,9 @@ impl UpdateAirtableRecord<RFD> for RFD {
// Set the Link to People from the original so it stays intact.
self.milestones = record.milestones.clone();
self.relevant_components = record.relevant_components;
- // Airtable can only hold 100,000 chars. IDK which one is that long but LOL
- // https://community.airtable.com/t/what-is-the-long-text-character-limit/1780
- self.content = truncate(&self.content, 100000);
- self.html = truncate(&self.html, 100000);
+
+ self.content = "".to_string();
+ self.html = "".to_string();
Ok(())
}
