1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/mipilin synced 2025-05-10 23:33:07 +00:00

joo can now delete mood updats

Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
Rae 5e 2025-01-31 17:07:06 -05:00
parent 0ecc741a98
commit 8e3ae72ae7
Signed by: rae
GPG key ID: 5B1A0FAB9BAB81EE
9 changed files with 78 additions and 13 deletions

View file

@ -100,6 +100,7 @@ object-src 'none'; base-uri 'none';"
const feedUpdates = (
await db
.select({
id: updates.id,
user: users.name,
mood: updates.mood,
date: updates.date,
@ -111,6 +112,7 @@ object-src 'none'; base-uri 'none';"
.orderBy(desc(updates.date))
).map((e) => {
return {
id: e.id,
user: e.user,
mood: moods[e.mood],
date: e.date,