Missed one

This commit is contained in:
Kegan Dougal 2020-05-27 18:06:05 +01:00
parent 7c63b5cbb4
commit 8183be2e75

View file

@ -124,7 +124,7 @@ func (s *inviteStatements) UpdateInviteRetired(
}
// now retire the invites
stmt = txn.Stmt(s.updateInviteRetiredStmt)
stmt = internal.TxStmt(txn, s.updateInviteRetiredStmt)
_, err = stmt.ExecContext(ctx, roomNID, targetUserNID)
return
}