Skip to content

Commit 646af02

Browse files
committed
fix apigen
1 parent 91b0970 commit 646af02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.tools/apigen.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (s *service) Find%s(id uuid.UUID) (*model.%s, error) {
9797
9898
var m model.%s
9999
100-
err := s.db.QueryRow(ctx, query, id).
100+
err := s.db.Pool().QueryRow(ctx, query, id).
101101
Scan(
102102
&m.ID,
103103
&m.Field,

0 commit comments

Comments
 (0)