Skip to content

Commit

Permalink
Make upgrade-weight an integer instead of a string
Browse files Browse the repository at this point in the history
  • Loading branch information
hellcp committed Feb 12, 2020
1 parent 31a76e4 commit 2200618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/distributions/api.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"name": "openSUSE Leap",
"version": "<%= version['version'] %>",
"upgrade-weight": "<%= version['order'] %>"
"upgrade-weight": <%= version['order'] %>
}<%= ',' unless version == @leap_versions.last %>
<% end %>
]
Expand Down

0 comments on commit 2200618

Please sign in to comment.