this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix relay sqlite3 support by fixing a gorm txn

authored by

Brian Olson and committed by
Brian Olson
21a5ded3 0246af60

+1 -1
+1 -1
cmd/relay/bgs/bgs.go
··· 1196 1196 if res.Error != nil { 1197 1197 return fmt.Errorf("failed to increment repo count for pds %q: %w", canonicalHost.Host, res.Error) 1198 1198 } 1199 - if terr := bgs.db.Create(&newAccount).Error; terr != nil { 1199 + if terr := tx.Create(&newAccount).Error; terr != nil { 1200 1200 bgs.log.Error("failed to create user", "did", newAccount.Did, "err", terr) 1201 1201 return fmt.Errorf("failed to create other pds user: %w", terr) 1202 1202 }