Fix commit room NID etc when using txns in postgres (hopefully)

This commit is contained in:
Neil Alexander 2020-08-18 18:15:51 +01:00
parent 0e3bc7a3e6
commit a648d4572d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -45,6 +45,7 @@ func NewMembershipUpdater(
} }
if !useTxns { if !useTxns {
txn.Commit() // nolint:errcheck
txn = nil txn = nil
} }