Skip to content

Commit cd4090d

Browse files
committed
fix: sort Sidekick ships by creation date
1 parent d6333d5 commit cd4090d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controllers/api/sidekick_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ def build_ships(project, all_versions = nil)
459459
submittedAt: submitted_at.iso8601,
460460
status: status
461461
}
462-
end
462+
end.sort_by { |s| s[:submittedAt] }
463463
end
464464

465465
def submission_hours(project, version, all_versions)

0 commit comments

Comments
 (0)