backend for xcvr appview

sql syntaxxxxx

Changed files
+3 -4
server
internal
+3 -4
server/internal/db/lexicon.go
··· 367 367 } 368 368 369 369 func (s *Store) GetImage(uri string, ctx context.Context) (*types.Image, error) { 370 - row := s.pool.QueryRow(ctx, `SELECT ( 370 + row := s.pool.QueryRow(ctx, `SELECT 371 371 did, 372 372 signet_uri, 373 373 blob_cid, ··· 379 379 color, 380 380 cid, 381 381 posted_at 382 - ) FROM images WHERE uri = $1`, uri) 382 + FROM images WHERE uri = $1`, uri) 383 383 var image types.Image 384 384 err := row.Scan(&image.DID, 385 385 &image.SignetURI, ··· 400 400 } 401 401 402 402 func (s *Store) GetImageDidCID(did string, cid string, ctx context.Context) (*types.Image, error) { 403 - row := s.pool.QueryRow(ctx, `SELECT ( 403 + row := s.pool.QueryRow(ctx, `SELECT 404 404 uri, 405 405 signet_uri, 406 406 cid, ··· 411 411 nick, 412 412 color, 413 413 posted_at 414 - ) 415 414 FROM images 416 415 WHERE did = $1 AND blob_cid = $2`, did, cid) 417 416 var image types.Image