mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 18:36:22 +00:00
no es necesario traer el tamaño de los build_stats
This commit is contained in:
parent
9024a13490
commit
ef2589a4f1
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ class DeployJob < ApplicationJob
|
|||
deploy_local: {
|
||||
status: deploy_locally,
|
||||
seconds: deploy_local.build_stats.last.seconds,
|
||||
size: deploy_local.build_stats.last.size,
|
||||
size: deploy_local.size,
|
||||
url: deploy_local.url
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ class DeployJob < ApplicationJob
|
|||
@deployed[d.type.underscore.to_sym] = {
|
||||
status: status,
|
||||
seconds: build_stat.try(:seconds) || 0,
|
||||
size: build_stat.try(:size) || 0,
|
||||
size: d.size,
|
||||
url: d.url
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue