Skip to content

Commit 383e10d

Browse files
committed
Merge branch 'feature/track-file-downloads' into staging
2 parents 7099dbe + 4a06e1f commit 383e10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controllers/uploads_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def track_download
5555
end
5656

5757
def client_id
58-
session.id || SecureRandom.uuid
58+
session.id&.to_s || SecureRandom.uuid
5959
end
6060

6161
def trackable_request?

0 commit comments

Comments
 (0)