From e9d0ffd189fe15bbfb4ba3551f0c9512de10e51e Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 24 May 2023 09:31:18 +0200 Subject: [PATCH] try sth --- src/model/log.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/model/log.rs b/src/model/log.rs index ee6af74..f6f1381 100644 --- a/src/model/log.rs +++ b/src/model/log.rs @@ -31,11 +31,13 @@ LIMIT 1000 } pub async fn generate_feed(db: &SqlitePool) -> String { - let mut ret = String::from(" + let mut ret = String::from( + r#" Ruder App Admin Feed - An RSS feed with activities from app.rudernlinz.at"); + An RSS feed with activities from app.rudernlinz.at"#, + ); for log in Self::last(db).await { ret.push_str(""); ret.push_str(&format!("({}) {}", log.created_at, log.msg));