Fix apps for jsonb.

This commit is contained in:
Cory McWilliams 2024-02-29 19:26:56 -05:00
parent c991763b00
commit a710c30572
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ {
"type": "tildefriends-app", "type": "tildefriends-app",
"emoji": "💻", "emoji": "💻",
"previous": "&RdVEsVscZm3aWzcMrEZS8mskO5tUmvaEUihex2MMfZQ=.sha256" "previous": "&icsPplXHgmpkbNWyo/WTvRdT/A8BXxW4lJixOtP4ueQ=.sha256"
} }

View File

@ -28,10 +28,10 @@ async function fetch_shared_apps() {
await ssb.sqlAsync( await ssb.sqlAsync(
` `
SELECT messages.* SELECT messages.id, messages.previous, messages.author, messages.sequence, messages.timestamp, messages.hash, json(messages.content) AS content, messages.signature
FROM messages_fts('"application/tildefriends"') FROM messages_fts('"application/tildefriends"')
JOIN messages ON messages.rowid = messages_fts.rowid JOIN messages ON messages.rowid = messages_fts.rowid
ORDER BY timestamp ORDER BY messages.timestamp
`, `,
[], [],
function (row) { function (row) {