correct a variable reference
'object' is not used in that method, it should be log
This commit is contained in:
parent
d18f825b15
commit
570602fc92
|
@ -14,7 +14,7 @@ module Travis
|
||||||
log_hash = options[:chunked] ? chunked_log_data : log_data
|
log_hash = options[:chunked] ? chunked_log_data : log_data
|
||||||
if log.removed_at
|
if log.removed_at
|
||||||
log_hash['removed_at'] = log.removed_at
|
log_hash['removed_at'] = log.removed_at
|
||||||
log_hash['removed_by'] = log.removed_by.name || object.removed_by.login
|
log_hash['removed_by'] = log.removed_by.name || log.removed_by.login
|
||||||
end
|
end
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user