touchups after refactor

This commit is contained in:
Christian Beutel
2025-01-03 00:13:59 +01:00
parent 871481a84e
commit 0d2e71c2f6
32 changed files with 1157 additions and 45 deletions

View File

@@ -256,7 +256,7 @@ func createCommentHandler(app *pocketbase.PocketBase) func(e *core.RecordCreateE
"id": commentTrail.Id,
"author": commentAuthor.GetString("username"),
"trail": commentTrail.GetString("name"),
"comment": e.Record.GetString("text")[:128],
"comment": e.Record.GetString("text"),
},
Seen: false,
Author: e.Record.GetString("author"),