From ae11d64c0c2c5a06efc3cc64e88d9ecb57d9804b Mon Sep 17 00:00:00 2001 From: rachel-mp4 Date: Sun, 12 Oct 2025 15:10:03 -0400 Subject: [PATCH] hmmmm --- server/internal/db/lexicon.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/internal/db/lexicon.go b/server/internal/db/lexicon.go index a76450f..c489239 100644 --- a/server/internal/db/lexicon.go +++ b/server/internal/db/lexicon.go @@ -403,7 +403,7 @@ func (s *Store) GetImageDidCID(did string, cid string, ctx context.Context) (*ty row := s.pool.QueryRow(ctx, `SELECT FROM images ( uri, signet_uri, - blob_cid, + cid, blob_mime, alt, height, @@ -415,7 +415,7 @@ func (s *Store) GetImageDidCID(did string, cid string, ctx context.Context) (*ty var image types.Image err := row.Scan(&image.URI, &image.SignetURI, - &image.BlobCID, + &image.CID, &image.BlobMIME, &image.Alt, &image.Height, @@ -427,6 +427,6 @@ func (s *Store) GetImageDidCID(did string, cid string, ctx context.Context) (*ty return nil, errors.New("error getting image: " + err.Error()) } image.DID = did - image.CID = cid + image.BlobCID = &cid return &image, nil } -- 2.51.2