Skip to content

Commit 00ac20e

Browse files
Merge pull request #1366 from travis-ci/Release_250422
Release 2025 04 22
2 parents 347b223 + 33612d2 commit 00ac20e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/travis/api/v3/models/cron.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def update_activity
8888
owner&.touch if owner.is_a? Models::User
8989
build = Build.find_by_id(branch.last_build_id)
9090
if build && build.sender_type == 'User' && build.sender_id > 0
91-
Models::User.find(build.sender_id)&.touch
91+
Models::User.find_by(id: build.sender_id)&.touch
9292
end
9393
end
9494

0 commit comments

Comments
 (0)