Skip to content

Commit

Permalink
Fix passing int to S3 bucket methods
Browse files Browse the repository at this point in the history
  • Loading branch information
glacials committed Feb 8, 2025
1 parent 9fc970c commit 4464e8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/api/v4/converts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def create
body: params.require(:file)
)
$s3_shutdown_prep_bucket.put_object(
key: @run.id,
key: "#{@run.id}",
body: filename,
)

Expand Down
2 changes: 1 addition & 1 deletion app/models/run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def split(more: false, realtime_end_ms: nil, gametime_end_ms: nil) # rubocop:tod
),
)
$s3_shutdown_prep_bucket.put_object(
key: id,
key: "#{id}",
body: s3_filename,
)
$s3_shutdown_prep_bucket.put_object(
Expand Down

0 comments on commit 4464e8e

Please sign in to comment.