forked from cory/tildefriends
		
	Fix wiki vs. JSONB.
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
	"type": "tildefriends-app",
 | 
			
		||||
	"emoji": "📝",
 | 
			
		||||
	"previous": "&DnfuAUGzzalSh9NgZXnzDc9Ru5aM0omfRJ4h27jYw4k=.sha256"
 | 
			
		||||
	"previous": "&hTgvoLzZ+6dlqYL7zRDAa91TzptTquAY8MaZ7Gn36Cc=.sha256"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -96,7 +96,7 @@ export async function collection(
 | 
			
		||||
		let rows = [];
 | 
			
		||||
		await ssb.sqlAsync(
 | 
			
		||||
			`
 | 
			
		||||
				SELECT messages.id, author, content, timestamp
 | 
			
		||||
				SELECT messages.id, author, json(content) AS content, timestamp
 | 
			
		||||
				FROM messages
 | 
			
		||||
				JOIN json_each(?1) AS id ON messages.author = id.value
 | 
			
		||||
				WHERE
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user