Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
add id to alloc simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed Jul 27, 2021
1 parent 42cb027 commit bd948d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/bitte_ci/model.cr
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,13 @@ class Allocation
def simplify
outputs = Output.query.where { alloc_id == id }.select(:id, :size, :created_at, :alloc_id, :path, :mime).to_a
{
created_at: created_at,
updated_at: updated_at,
client_status: client_status,
index: index,
created_at: created_at,
eval_id: eval_id,
id: id,
index: index,
outputs: outputs,
updated_at: updated_at,
}
end
end
Expand Down

0 comments on commit bd948d5

Please sign in to comment.