Skip to content

Commit

Permalink
Removed unused parameter [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 7, 2024
1 parent d44457c commit 0fb4618
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pghero/methods/basic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def select_all_size(sql)
result
end

def select_one(sql, conn: nil)
select_all(sql, conn: conn).first.values.first
def select_one(sql)
select_all(sql).first.values.first
end

def execute(sql)
Expand Down

0 comments on commit 0fb4618

Please sign in to comment.