Skip to content

Commit c5346ad

Browse files
committed
rm todo
1 parent 22e1057 commit c5346ad

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

coderd/database/dbauthz/authzquerier.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,7 @@ func (q *AuthzQuerier) Ping(ctx context.Context) (time.Duration, error) {
3939
}
4040

4141
// InTx runs the given function in a transaction.
42-
// TODO: The method signature needs to be switched to use 'AuthzStore'. Until that
43-
// interface is defined as a subset of database.Store, it would not compile.
44-
// So use this method signature for now.
45-
// func (q *AuthzQuerier) InTx(function func(querier AuthzStore) error, txOpts *sql.TxOptions) error {
4642
func (q *AuthzQuerier) InTx(function func(querier database.Store) error, txOpts *sql.TxOptions) error {
47-
// TODO: @emyrk verify this works.
4843
return q.db.InTx(func(tx database.Store) error {
4944
// Wrap the transaction store in an AuthzQuerier.
5045
wrapped := New(tx, q.auth, q.log)

0 commit comments

Comments
 (0)