Skip to content

Commit

Permalink
use-punning
Browse files Browse the repository at this point in the history
  • Loading branch information
inoas committed Feb 5, 2025
1 parent e5af50d commit cffdc8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cake/adapter/mysql.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub fn run_read_query(
|> shork.query
|> shork_parameters(db_params:)
|> shork.returning(decoder)
|> shork.execute(on: on)
|> shork.execute(on:)

case result {
Ok(shork.Returned(_result_count, v)) -> Ok(v)
Expand All @@ -103,7 +103,7 @@ pub fn run_write_query(
|> shork.query
|> shork_parameters(db_params:)
|> shork.returning(decoder)
|> shork.execute(on: on)
|> shork.execute(on:)

case result {
Ok(shork.Returned(_result_count, v)) -> Ok(v)
Expand Down

0 comments on commit cffdc8a

Please sign in to comment.