From abf720ed362b294e68ee67b13648b3f7d0ce1cc3 Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 24 May 2023 09:36:48 +0200 Subject: [PATCH] push --- src/model/log.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/model/log.rs b/src/model/log.rs index f6f1381..dbe77c3 100644 --- a/src/model/log.rs +++ b/src/model/log.rs @@ -32,10 +32,11 @@ LIMIT 1000 pub async fn generate_feed(db: &SqlitePool) -> String { let mut ret = String::from( - r#" - + r#" + Ruder App Admin Feed + app.rudernlinz.at An RSS feed with activities from app.rudernlinz.at"#, ); for log in Self::last(db).await { @@ -45,6 +46,6 @@ LIMIT 1000 } ret.push_str(""); ret.push_str(""); - ret + ret.replace("\n", "") } }