not so much clutter when addding notes
Some checks failed
CI/CD Pipeline / deploy-staging (push) Blocked by required conditions
CI/CD Pipeline / deploy-main (push) Blocked by required conditions
CI/CD Pipeline / test (push) Has been cancelled

This commit is contained in:
2025-05-14 08:04:56 +02:00
parent edcdc74c1c
commit ed6d05eb9e
3 changed files with 12 additions and 8 deletions

View File

@ -17,7 +17,6 @@ impl User {
&self,
db: &SqlitePool,
updated_by: &ManageUserUser,
user: &User,
note: &str,
) -> Result<(), String> {
let note = note.trim();
@ -25,7 +24,7 @@ impl User {
ActivityBuilder::from(activity::Reason::UserDataChange(
updated_by,
self,
format!("Neue Notizen: {note}"),
note.to_string(),
))
.save(db)
.await;