Skip to content

Commit

Permalink
Merge pull request #5179 from bgeuken/fix_typo
Browse files Browse the repository at this point in the history
[frontend] Fix typo in BinaryRelease model
  • Loading branch information
bgeuken committed Jun 21, 2018
2 parents 3e40561 + 9ca4eea commit d1775cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/binary_release.rb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def indentical_to?(binary_hash)
binary_disturl == binary_hash['disturl'] &&
binary_supportstatus == binary_hash['supportstatus'] &&
binary_buildtime &&
binary_buildtime.to_datetime.utc == DateTime.strptime(binary['buildtime'].to_s, '%s').utc
binary_buildtime.to_datetime.utc == DateTime.strptime(binary_hash['buildtime'].to_s, '%s').utc
end
# rubocop:enable Style/DateTime
#### Alias of methods
Expand Down

0 comments on commit d1775cc

Please sign in to comment.